wf_ins.go 1.5 KB

1234567891011121314151617181920212223242526
  1. package datamodels
  2. import "time"
  3. type WfIns struct {
  4. OcId int64 `json:"ocId" xorm:"'oc_id' bigint pk comment('OC Id') " `
  5. WfDefId int64 `json:"wfDefId" xorm:"'wf_def_id' bigint pk comment('主键ID') " `
  6. WfInsId int64 `json:"wfInsId" xorm:"'wf_ins_id' bigint pk comment('主键ID') " `
  7. WfInsTitle string `json:"wfInsTitle" xorm:"'wf_ins_title' varchar(127) comment('描述') " `
  8. BeginTime time.Time `json:"beginTime" xorm:"'begin_time' datetime comment('描述') " `
  9. FinishTime time.Time `json:"finishTime" xorm:"'finish_time' datetime comment('描述') " `
  10. Status int64 `json:"status" xorm:"'status' bigint comment('Status') " `
  11. CurGroupId int64 `json:"curGroupId" xorm:"'cur_group_id' bigint comment('CurGroupId') " `
  12. CreatedBy int64 `json:"createdBy" xorm:"'created_by' " `
  13. CreatedAt time.Time `json:"createdAt" xorm:"'created_at' " `
  14. UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by' " `
  15. UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at' " `
  16. DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'" `
  17. DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by' " `
  18. DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at' " `
  19. }
  20. func (m *WfIns) TableName() string {
  21. return "wf_ins"
  22. }