mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 21:12:33 +00:00
30 lines
1.6 KiB
Go
30 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"
|
|
)
|
|
|
|
const TableNameLegendArea = "legend_area"
|
|
|
|
// LegendArea 分区列表
|
|
type LegendArea struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键,自增" json:"id"` // 主键,自增
|
|
AreaName string `gorm:"column:area_name;not null;default:OK;comment:分区名称" json:"area_name"` // 分区名称
|
|
UID string `gorm:"column:uid;not null;comment:分区id" json:"uid"` // 分区id
|
|
GroupName string `gorm:"column:group_name;not null;comment:分组id" json:"group_name"` // 分组id
|
|
NotifyURL string `gorm:"column:notify_url;comment:通知地址" json:"notify_url"` // 通知地址
|
|
AttachParams string `gorm:"column:attach_params;comment:通知参数" json:"attach_params"` // 通知参数
|
|
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"` // 创建时间
|
|
TemplateName string `gorm:"column:template_name;not null" json:"template_name"`
|
|
}
|
|
|
|
// TableName LegendArea's table name
|
|
func (*LegendArea) TableName() string {
|
|
return TableNameLegendArea
|
|
}
|