| 12345678910111213141516171819202122 |
- package datamodels
- import "time"
- type ApiTransUnit struct {
- ApiId int64 `json:"apiId" xorm:"'api_id' bigint pk comment('ApiId') "`
- AtuId int64 `json:"atuId" xorm:"'atu_id' bigint pk comment('AtuId') "`
- ModelId int64 `json:"modelId" xorm:"'model_id' bigint comment('ModelId') "`
- ObjectId int64 `json:"objectId" xorm:"'object_id' bigint comment('ObjectId') "`
- ObjectOamType int64 `json:"objectOamType" xorm:"'object_oam_type' bigint comment('ObjectOamType')"`
- 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 *ApiTransUnit) TableName() string {
- return "ps_api_trans_unit"
- }
|