oilauditsetting.go 1.0 KB

1234567891011121314151617181920212223
  1. package auditsetting
  2. import (
  3. "time"
  4. )
  5. type Base_OilAuditSetting struct {
  6. Id int `xorm:"not null pk autoincr INT(10)"`
  7. OrganizeId int `xorm:"not null default 0 comment('单位ID') INT(10)"`
  8. OrganizeName string `xorm:"comment('单位名称') VARCHAR(100)"`
  9. AuditStepCode string `xorm:"not null default '0' comment('审批步骤编码') VARCHAR(20)"`
  10. AuditStepName string `xorm:"comment('审批步骤名称') VARCHAR(50)"`
  11. RoleId int `xorm:"not null default 0 comment('角色ID') INT(10)"`
  12. RoleName string `xorm:"comment('角色名称') VARCHAR(50)"`
  13. Remark string `xorm:"comment('备注') VARCHAR(500)"`
  14. IsDelete int `xorm:"default 0 comment('删除状态,0正常,1已删除') INT(10)"`
  15. CreateOn time.Time `xorm:"DATETIME"`
  16. CreateUserId int `xorm:"INT(10)"`
  17. CreateBy string `xorm:"VARCHAR(50)"`
  18. ModifiedOn time.Time `xorm:"DATETIME"`
  19. ModifiedUserId int `xorm:"INT(10)"`
  20. ModifiedBy string `xorm:"VARCHAR(50)"`
  21. }