mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
28 lines
1.4 KiB
Go
28 lines
1.4 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"
|
|
)
|
|
|
|
const TableNameRoadPoolInfo = "road_pool_info"
|
|
|
|
// RoadPoolInfo 通道池
|
|
type RoadPoolInfo struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键,自增" json:"id"` // 主键,自增
|
|
Status string `gorm:"column:status;not null;default:active;comment:通道池状态" json:"status"` // 通道池状态
|
|
RoadPoolName string `gorm:"column:road_pool_name;not null;comment:通道池名称" json:"road_pool_name"` // 通道池名称
|
|
RoadPoolCode string `gorm:"column:road_pool_code;not null;comment:通道池编号" json:"road_pool_code"` // 通道池编号
|
|
RoadUIDPool string `gorm:"column:road_uid_pool;comment:通道池里面的通道uid" json:"road_uid_pool"` // 通道池里面的通道uid
|
|
UpdateTime time.Time `gorm:"column:update_time;not null;default:CURRENT_TIMESTAMP;comment:更新时间" json:"update_time"` // 更新时间
|
|
CreateTime time.Time `gorm:"column:create_time;comment:创建时间" json:"create_time"` // 创建时间
|
|
}
|
|
|
|
// TableName RoadPoolInfo's table name
|
|
func (*RoadPoolInfo) TableName() string {
|
|
return TableNameRoadPoolInfo
|
|
}
|