| 1234567891011121314151617181920212223242526272829 |
- package datamodel
- import "time"
- type BizObjectAttr struct {
- BizId int64 `json:"bizId" xorm:"'biz_id' bigint pk comment('Biz ID') "`
- ObjectId int64 `json:"objectId" xorm:"'object_id' bigint pk comment('Object ID') "`
- AttrId int64 `json:"attrId" xorm:"'attr_id' bigint pk comment('Attr ID') "`
- AttrTitle string `json:"attrTitle" xorm:"'attr_title' varchar(127) comment('AttrTitle') "`
- AttrCode string `json:"attrCode" xorm:"'attr_code' varchar(127) comment('AttrCode') "`
- MappingCode string `json:"mappingCode" xorm:"'mapping_code' varchar(127) comment('ModelCode') "`
- AttrType int64 `json:"attrType" xorm:"'attr_type' bigint comment('Type') "`
- AttrLength int64 `json:"attrLength" xorm:"'attr_length' bigint comment('attrLength') "`
- AttrDecimals int64 `json:"attrDecimals" xorm:"'attr_decimals' bigint comment('attrDecimals') "`
- Comment string `json:"comment" xorm:"'comment' varchar(255) comment('描述') "`
- IsNotNull int64 `json:"isNotNull" xorm:"'is_not_null' int comment('是否可修改') "`
- SortNo int64 `json:"sortNo" xorm:"'sort_no' int comment('是否可修改') "`
- CreatedBy int64 `json:"createdBy" xorm:"'created_by'"`
- CreatedAt time.Time `json:"createdAt" xorm:"'created_at'"`
- UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by'"`
- UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at'"`
- DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'"`
- DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by'"`
- DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at'"`
- }
- func (t *BizObjectAttr) TableName() string {
- return "biz_object_attr"
- }
|