art_attach.go 1.0 KB

123456789101112131415161718192021
  1. package datamodel
  2. import "time"
  3. type ArtAttach struct {
  4. OcId int64 `json:"ocId" xorm:"'oc_id' bigint pk comment('OC Id') " `
  5. ArtId int64 `json:"artId" xorm:"'art_id' bigint pk comment('主键ID') " `
  6. FileId int64 `json:"fileId" xorm:"'file_id' bigint pk comment('主键ID') " `
  7. CreatedBy int64 `json:"createdBy" xorm:"'created_by' " `
  8. CreatedAt time.Time `json:"createdAt" xorm:"'created_at' " `
  9. UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by' " `
  10. UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at' " `
  11. DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'" `
  12. DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by' " `
  13. DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at' " `
  14. }
  15. func (m *ArtAttach) TableName() string {
  16. return "wf_ins_attach"
  17. }