package model import "time" type ManagementBh struct { ManagementID int64 `xorm:"bigint(20) 'managementid'"` //脖环管理ID Code string `xorm:"varchar(80) notnull 'REGIST_NUM_2'"` //脖环编码 Date time.Time `xorm:"DATE 'date'"` //日期 } func (s *ManagementBh) TableName() string { return "management_bh" }