api_trans_unit_info.go 1006 B

12345678910111213141516
  1. package viewmodels
  2. type ApiTransUnitInfo struct {
  3. ApiId int64 `json:"apiId" xorm:"'api_id' bigint pk comment('ApiId') "`
  4. AtuId int64 `json:"atuId" xorm:"'atu_id' bigint pk comment('AtuId') "`
  5. ModelId int64 `json:"modelId" xorm:"'model_id' bigint comment('ModelId') "`
  6. ModelTitle string `json:"modelTitle" xorm:"'model_title' varchar(127) comment('Model Title') "`
  7. ObjectId int64 `json:"objectId" xorm:"'object_id' bigint comment('ObjectId') "`
  8. ObjectTitle string `json:"objectTitle" xorm:"'object_title' varchar(127) comment('Object Title') "`
  9. ObjectOamType int64 `json:"objectOamType" xorm:"'object_oam_type' bigint comment('ObjectOamType')"`
  10. }
  11. func (t *ApiTransUnitInfo) TableName() string {
  12. return "ps_api_trans_unit"
  13. }