wf_activity_ins.go 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package datamodel
  2. import "time"
  3. type WfActivityIns 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('WF INS ID') " `
  7. ActivityDefId int64 `json:"activityDefId" xorm:"'activity_def_id' bigint pk comment('主键ID') " `
  8. ActivityInsId int64 `json:"activityInsId" xorm:"'activity_ins_id' bigint pk comment('主键ID') " `
  9. ActivityInsTitle string `json:"activityInsTitle" xorm:"'activity_ins_title' varchar(127) comment('Activity Ins Title')"`
  10. ActivityCode string `json:"activityCode" xorm:"'activity_code' varchar(127) comment('Activity Code')"`
  11. GroupId int64 `json:"groupId" xorm:"'group_id' bigint comment('Group Id') " `
  12. GroupName string `json:"groupName" xorm:"'group_name' varchar(127) comment('Group Name') " `
  13. PositionId int64 `json:"positionId" xorm:"'position_id' bigint comment('Position Id') " `
  14. PositionName string `json:"positionName" xorm:"'position_name' varchar(127) comment('Position Name')" `
  15. AccountId int64 `json:"accountId" xorm:"'account_id' bigint comment('Account Id') " `
  16. AccountName string `json:"accountName" xorm:"'account_name' varchar(127) comment('Account Name') " `
  17. FormCode string `json:"formCode" xorm:"'form_code' varchar(127) comment('描述') " `
  18. ActivityInsFrom int64 `json:"activityInsFrom" xorm:"'activity_ins_from' bigint pk comment('主键ID') " `
  19. ActivityInsTo int64 `json:"activityInsTo" xorm:"'activity_ins_to' bigint pk comment('主键ID') " `
  20. StartTime time.Time `json:"startTime" xorm:"'start_time' " `
  21. EndTime time.Time `json:"endTime" xorm:"'end_time' " `
  22. Status int64 `json:"status" xorm:"'status' bigint comment('Account Id') " `
  23. CreatedBy int64 `json:"createdBy" xorm:"'created_by' " `
  24. CreatedAt time.Time `json:"createdAt" xorm:"'created_at' " `
  25. UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by' " `
  26. UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at' " `
  27. DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'" `
  28. DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by' " `
  29. DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at' " `
  30. }
  31. func (m *WfActivityIns) TableName() string {
  32. return "wf_activity_ins"
  33. }