package models import "time" type PlatformUpgradeNotice struct { ID uint64 `orm:"column(id);pk;auto" json:"id"` TenantID string `orm:"column(tenant_id);size(64)" json:"tenant_id"` UpdateDate string `orm:"column(update_date);size(20)" json:"update_date"` Title string `orm:"column(title);size(255)" json:"title"` Content string `orm:"column(content);type(text)" json:"content"` Sort int `orm:"column(sort);default(0)" json:"sort"` Status int8 `orm:"column(status);default(1)" json:"status"` CreateUserID string `orm:"column(create_user_id);size(64)" json:"create_user_id"` CreateTime time.Time `orm:"column(create_time);auto_now_add;type(datetime)" json:"create_time"` UpdateTime *time.Time `orm:"column(update_time);auto_now;type(datetime);null" json:"update_time"` DeleteTime *time.Time `orm:"column(delete_time);type(datetime);null" json:"delete_time"` } func (m *PlatformUpgradeNotice) TableName() string { return "yz_platform_upgrade_notice" }