mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:13:23 +00:00
32 lines
1.6 KiB
Go
32 lines
1.6 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 TableNameRestrictClientAccessIPRelation = "restrict_client_access_ip_relation"
|
|
|
|
// RestrictClientAccessIPRelation mapped from table <restrict_client_access_ip_relation>
|
|
type RestrictClientAccessIPRelation struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
|
IP string `gorm:"column:ip;comment:IP地址" json:"ip"` // IP地址
|
|
IsRemoteIP []uint8 `gorm:"column:is_remote_ip" json:"is_remote_ip"`
|
|
RestrictIPRecordID int32 `gorm:"column:restrict_ip_record_id;comment:限制IP详情" json:"restrict_ip_record_id"` // 限制IP详情
|
|
RestrictClientAccessRecordID int32 `gorm:"column:restrict_client_access_record_id;comment:IP访问地址详情" json:"restrict_client_access_record_id"` // IP访问地址详情
|
|
SessionID string `gorm:"column:session_id;comment:回话ID" json:"session_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 RestrictClientAccessIPRelation's table name
|
|
func (*RestrictClientAccessIPRelation) TableName() string {
|
|
return TableNameRestrictClientAccessIPRelation
|
|
}
|