18 lines
722 B
Go
18 lines
722 B
Go
package models
|
|
|
|
import "time"
|
|
|
|
// SystemDomainPool 主域名池表 yz_system_domain_pool
|
|
type SystemDomainPool struct {
|
|
ID uint64 `orm:"column(id);pk;auto" json:"id"`
|
|
MainDomain string `orm:"column(main_domain);size(255)" json:"main_domain"`
|
|
Status int8 `orm:"column(status);default(1)" json:"status"` // 1启用 0禁用
|
|
CreateTime time.Time `orm:"column(create_time);type(datetime);auto_now_add" json:"create_time"`
|
|
UpdateTime *time.Time `orm:"column(update_time);type(datetime);auto_now;null" json:"update_time"`
|
|
DeleteTime *time.Time `orm:"column(delete_time);type(datetime);null" json:"delete_time"`
|
|
}
|
|
|
|
func (m *SystemDomainPool) TableName() string {
|
|
return "yz_system_domain_pool"
|
|
}
|