mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:13:23 +00:00
34 lines
1.7 KiB
Go
34 lines
1.7 KiB
Go
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
|
|
package model
|
|
|
|
import (
|
|
"time"
|
|
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
const TableNameRestrictIPOrderAccess = "restrict_ip_order_access"
|
|
|
|
// RestrictIPOrderAccess mapped from table <restrict_ip_order_access>
|
|
type RestrictIPOrderAccess struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
|
RestrictIPID int32 `gorm:"column:restrict_ip_id;comment:关联的IP地址" json:"restrict_ip_id"` // 关联的IP地址
|
|
OrderNo string `gorm:"column:order_no;comment:订单号" json:"order_no"` // 订单号
|
|
CardPass string `gorm:"column:card_pass;comment:卡密" json:"card_pass"` // 卡密
|
|
IP string `gorm:"column:ip;comment:ip地址" json:"ip"` // ip地址
|
|
Status int32 `gorm:"column:status;comment:状态" json:"status"` // 状态
|
|
RestrictStrategy string `gorm:"column:restrict_strategy;comment:限制策略" json:"restrict_strategy"` // 限制策略
|
|
DeviceID string `gorm:"column:device_id;comment:设备ID" json:"device_id"` // 设备ID
|
|
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
|
|
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`
|
|
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at" json:"deleted_at"`
|
|
}
|
|
|
|
// TableName RestrictIPOrderAccess's table name
|
|
func (*RestrictIPOrderAccess) TableName() string {
|
|
return TableNameRestrictIPOrderAccess
|
|
}
|