package viewmodel import "encoding/json" type ApiInfo struct { BizId int64 `json:"bizId" xorm:"'biz_id' bigint comment('Biz Id') "` BizTitle string `json:"bizTitle" xorm:"'biz_title' varchar(127) comment('Biz Title') "` ApiId int64 `json:"apiId" xorm:"'api_id' bigint pk comment('Api ID') "` ApiType int64 `json:"apiType" xorm:"'api_type' bigint comment('Api Type') "` ApiMethod int64 `json:"apiMethod" xorm:"'api_method' bigint comment('Api Method') "` ApiTitle string `json:"apiTitle" xorm:"'api_title' varchar(127) comment('名称') "` ApiCode string `json:"apiCode" xorm:"'api_code' varchar(127) comment('编码') "` ApiParams string `json:"apiParams" xorm:"'api_params' varchar(127) comment('Param') "` Status int64 `json:"status" xorm:"'status' bigint comment('Status') "` ApiDesc string `json:"apiDesc" xorm:"'api_desc' varchar(50) comment('描述') "` ObjectId int64 `json:"objectId" xorm:"'object_id' bigint comment('Object Id') "` ObjectTitle string `json:"objectTitle" xorm:"'object_title' varchar(127) comment('Object Title') "` ObjectType int64 `json:"objectType" xorm:"'object_type' bigint comment('Object Type') "` ObjectCode string `json:"objectCode" xorm:"'object_code' varchar(127) comment('Object Code') "` OamId int64 `json:"oamId" xorm:"'oam_id' bigint comment('Oam Id') "` OamTitle string `json:"oamTitle" xorm:"'oam_title' varchar(127) comment('OAMTitle') "` OamCode string `json:"oamCode" xorm:"'oam_code' varchar(127) comment('OAMCode') "` OamType int64 `json:"oamType" xorm:"'oam_type' bigint comment('Oam Type') "` SqlType int64 `json:"sqlType" xorm:"'sql_type' bigint comment('Sql Type') "` SqlStatement string `json:"sqlStatement" xorm:"'sql_statement' varchar(1023) comment('Statement') "` SqlSelect string `json:"sqlSelect" xorm:"'sql_select' varchar(1023) comment('Sql Select') "` SqlFrom string `json:"sqlFrom" xorm:"'sql_from' varchar(1023) comment('Sql From') "` SqlWhere string `json:"sqlWhere" xorm:"'sql_where' varchar(1023) comment('Sql Where') "` SqlOrder string `json:"sqlOrder" xorm:"'sql_order' varchar(1023) comment('Sql Order') "` SqlCount string `json:"sqlCount" xorm:"'sql_count' varchar(1023) comment('Sql Count') "` OamDesc string `json:"oamDesc" xorm:"'oam_desc' varchar(1023) comment('描述') "` } func (t *ApiInfo) TableName() string { return "api" } func (g *ApiInfo) MarshalBinary() (data []byte, err error){ return json.Marshal(g) } func (g *ApiInfo) UnmarshalBinary(data []byte) (err error){ return json.Unmarshal(data, g) }