liuxiaolong
2020-06-05 7c811247ecf143e08c576986a884bedadc57dd66
models/dbtablepersons.go
@@ -1,15 +1,29 @@
package models
type Dbtablepersons   struct {
type Dbtablepersons struct {
   BaseEntity
   TableId string `json:"tableId,omitempty" example:"库表id"`
   Feature string  `json:"feature,omitempty" example:"人脸特征值"`
   FaceUrl string `json:"faceUrl,omitempty" example:"图片路径"`
   PersonName string `json:"personName,omitempty" example:"人员姓名"`
   Age string `json:"age,omitempty"  example:"年龄"`
   Sex string  `json:"sex,omitempty" example:"性别 男 女"`
   Idcard string `json:"idcard,omitempty" example:"身份证"`
   PhoneNum string `json:"phoneNum,omitempty" example:"手机号码"`
   TableId      string `json:"tableId,omitempty" example:"库表id"`
   FaceFeature  string `json:"faceFeature,omitempty" example:"人脸特征值"`
   PersonPicUrl string `json:"personPicUrl,omitempty" example:"图片路径"`
   PersonName   string `json:"personName,omitempty" example:"人员姓名"`
   Age          string `json:"age,omitempty"  example:"年龄"`
   Sex          string `json:"sex,omitempty" example:"性别 男 女"`
   IdCard       string `json:"idCard,omitempty" example:"身份证"`
   PhoneNum     string `json:"phoneNum,omitempty" example:"手机号码"`
   MonitorLevel string `json:"monitorLevel,omitempty" example:"等级"`
   PicDesc      string `json:"picDesc,omitempty" example:"照片标识"`
   Reserved    string `json:"reserved,omitempty" example:"其他"`
   CarNo       string `json:"carNo" example:"车牌号"`
   CarPicUrls    string `json:"carPicUrls" example:"车辆照片"`
   CarType       int    `json:"carType"`
   CarBrand    int    `json:"carBrand"`
   CarColor    int   `json:"carColor"`
   FromServerId string `gorm:"column:fromServerId" json:"fromServerId,omitempty" example:"入库serverId"`
}
type DbPersonsCompVo struct {
   Dbtablepersons
   CompareScore float64 `json:"compareScore"`
}