|
|
@@ -1,12 +1,13 @@
|
|
|
package viewmodels
|
|
|
|
|
|
type RepoObjectInfo struct {
|
|
|
- RepoId int64 `json:"repoId" xorm:"'repo_id' bigint pk comment('主键ID') "`
|
|
|
- ModelId int64 `json:"modelId" xorm:"'model_id' bigint pk comment('主键ID') "`
|
|
|
- ObjectId int64 `json:"objectId" xorm:"'object_id' bigint pk comment('Object ID') "`
|
|
|
- ObjectType int64 `json:"objectType" xorm:"'object_type' bigint comment('Object Type') "`
|
|
|
- ObjectTitle string `json:"objectTitle" xorm:"'object_title' varchar(127) comment('Object Title') "`
|
|
|
- ObjectCode string `json:"objectCode" xorm:"'object_code' varchar(127) comment('Object Code') "`
|
|
|
+ RepoId int64 `json:"repoId" xorm:"'repo_id' bigint pk comment('主键ID') "`
|
|
|
+ ModelId int64 `json:"modelId" xorm:"'model_id' bigint pk comment('主键ID') "`
|
|
|
+ ModelTitle string `json:"modelTitle" xorm:"'model_title' varchar(127) comment('Object Title') "`
|
|
|
+ ObjectId int64 `json:"objectId" xorm:"'object_id' bigint pk comment('Object ID') "`
|
|
|
+ ObjectType int64 `json:"objectType" xorm:"'object_type' bigint comment('Object Type') "`
|
|
|
+ ObjectTitle string `json:"objectTitle" xorm:"'object_title' varchar(127) comment('Object Title') "`
|
|
|
+ ObjectCode string `json:"objectCode" xorm:"'object_code' varchar(127) comment('Object Code') "`
|
|
|
}
|
|
|
|
|
|
func (t *RepoObjectInfo) TableName() string {
|