wf_activity_def.go 1.4 KB

1234567891011121314151617181920212223242526
  1. package datamodel
  2. import "time"
  3. type WfActivityDef struct {
  4. WfDefId int64 `json:"wfDefId" xorm:"'wf_def_id' bigint pk comment('主键ID') " `
  5. ActivityDefId int64 `json:"activityDefId" xorm:"'activity_def_id' bigint pk comment('主键ID') " `
  6. ActivityDefTitle string `json:"activityDefTitle" xorm:"'activity_def_title' varchar(127) comment('TASK类型名称') " `
  7. ActivityCode string `json:"activityCode" xorm:"'activity_code' varchar(127) comment('TASK类型名称') " `
  8. ActivityDefDesc string `json:"activityDefDesc" xorm:"'activity_def_desc' varchar(127) comment('描述') " `
  9. FormCode string `json:"formCode" xorm:"'form_code' varchar(127) comment('描述') " `
  10. CreatedBy int64 `json:"createdBy" xorm:"'created_by' " `
  11. CreatedAt time.Time `json:"createdAt" xorm:"'created_at' " `
  12. UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by' " `
  13. UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at' " `
  14. DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'" `
  15. DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by' " `
  16. DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at' " `
  17. }
  18. func (m *WfActivityDef) TableName() string {
  19. return "wf_activity_def"
  20. }