biz_object_oam_params.go 2.2 KB

123456789101112131415161718192021222324252627282930
  1. package datamodel
  2. import "time"
  3. type BizObjectOAMParams struct {
  4. BizId int64 `json:"bizId" xorm:"'biz_id' bigint pk comment('BIZ ID') "`
  5. ObjectId int64 `json:"objectId" xorm:"'object_id' bigint pk comment('Object ID') "`
  6. OamId int64 `json:"oamId" xorm:"'oam_id' bigint pk comment('OAM ID') "`
  7. ParamId int64 `json:"paramId" xorm:"'param_id' bigint pk comment('Param ID') "`
  8. LogicalOperator string `json:"logicalOperator" xorm:"'logical_operator' varchar(15) comment('Logical Operator') "`
  9. ParamTitle string `json:"paramTitle" xorm:"'param_title' varchar(127) comment('Param Title') "`
  10. CompareOperator string `json:"compareOperator" xorm:"'compare_operator' varchar(15) comment('Compare Operator') "`
  11. ParamType int64 `json:"paramType" xorm:"'param_type' bigint comment('Param Type') "`
  12. ParamValue string `json:"paramValue" xorm:"'param_value' varchar(127) comment('Param Value') "`
  13. ParamRemark string `json:"paramRemark" xorm:"'param_remark' varchar(255) comment('Param Remark') "`
  14. IsRuled int64 `json:"isRuled" xorm:"'is_ruled' bigint comment('Is Ruled') "`
  15. RuleId int64 `json:"ruleId" xorm:"'rule_id' bigint comment('Rule ID') "`
  16. SortNo int64 `json:"sortNo" xorm:"'sort_no' bigint comment('Sort No') "`
  17. CreatedBy int64 `json:"createdBy" xorm:"'created_by'"`
  18. CreatedAt time.Time `json:"createdAt" xorm:"'created_at'"`
  19. UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by'"`
  20. UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at'"`
  21. DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'"`
  22. DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by'"`
  23. DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at'"`
  24. }
  25. func (t *BizObjectOAMParams) TableName() string {
  26. return "biz_object_oam_params"
  27. }