biz_object_info.go 948 B

123456789101112131415
  1. package viewmodels
  2. type BizObjectInfo struct {
  3. BizId int64 `json:"bizId" xorm:"'biz_id' bigint pk comment('Biz ID') "`
  4. ObjectId int64 `json:"objectId" xorm:"'object_id' bigint pk comment('Object ID') "`
  5. ObjectType int64 `json:"objectType" xorm:"'object_type' bigint comment('Object Type') "`
  6. ObjectTitle string `json:"objectTitle" xorm:"'object_title' varchar(127) comment('Object Title') "`
  7. ObjectCode string `json:"objectCode" xorm:"'object_code' varchar(127) comment('Object Code') "`
  8. Comment string `json:"comment" xorm:"'comment' varchar(255) comment('Comment') "`
  9. IsFixed int64 `json:"isFixed" xorm:"'is_fixed' int comment('Is Fixed') "`
  10. }
  11. func (t *BizObjectInfo) TableName() string {
  12. return "biz_object"
  13. }