oilwinningproject.go 901 B

123456789101112131415161718192021
  1. package winningproject
  2. import (
  3. "time"
  4. )
  5. type OilWinningProject struct {
  6. Id int `xorm:"not null pk autoincr INT(10)"`
  7. SupplierCertid int `xorm:"not null comment('供方准入证书信息表ID') INT(10)"`
  8. AwardName string `xorm:"comment('奖项名称') VARCHAR(100)"`
  9. WinningTime time.Time `xorm:"comment('获奖时间') DATETIME"`
  10. Authorities string `xorm:"not null default '0' comment('颁奖机关') VARCHAR(10)"`
  11. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  12. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  13. CreateOn time.Time `xorm:"DATETIME"`
  14. CreateuserId int `xorm:"INT(10)"`
  15. CreateBy string `xorm:"VARCHAR(50)"`
  16. ModifiedOn time.Time `xorm:"DATETIME"`
  17. ModifieduserId int `xorm:"INT(10)"`
  18. ModifiedBy string `xorm:"VARCHAR(50)"`
  19. }