package locationing //健康上报情况 type ReportAddress struct { Id int64 `json:"id" gorm:"column:id;type:bigint(20);primaryKey;unique;not null;autoIncrement;index"` WechatId string `json:"wechatid" gorm:"column:wechat_id;type:varchar(255);not null;comment:上报人微信ID"` //'上报人微信ID', Province string `json:"province" gorm:"column:province;type:varchar(255);not null;comment:省"` //'省', City string `json:"city" gorm:"column:city;type:varchar(255);not null;comment:市"` //'市', County string `json:"county" gorm:"column:county;type:varchar(255);not null;comment:县"` //'县', Userid string `json:"userid" gorm:"column:userid;type:varchar(255);not null;comment:微信ID"` //'微信ID', AddTime int64 `json:"addtime" gorm:"column:addtime;type:bigint(20) unsigned;default:0;not null;comment:写入时间"` //'写入时间', CalCulTime int64 `json:"calcultime" gorm:"column:calcultime;type:bigint(20) unsigned;default:0;not null;comment:计算时间"` //'计算时间', Address string `json:"address" gorm:"column:address;type:text;comment:详细地址"` //'详细地址', IsDbnormal int `json:"isabnormal" gorm:"column:isabnormal;type:tinyint(1) unsigned;default:1;not null;comment:状态"` UserName string `json:"user_name" gorm:"column:user_name;type:varchar(255);comment:微信名称"` UserTel string `json:"user_tel" gorm:"column:user_tel;type:varchar(255);comment:微信电话联系方式"` MainDepartment int64 `json:"main_department" gorm:"column:main_department;type:bigint(20) unsigned;default:0;not null;comment:主部门"` //'主部门', GroupName string `json:"groupName" gorm:"column:group_name;type:varchar(255);comment:集团名称"` //'集团名称', GroupId int64 `json:"groupId" gorm:"column:group_id;type:bigint(20) unsigned;default:1;not null;comment:集团id"` //'集团id', RiskLevel int `json:"riskLevel" gorm:"column:risk_level;type:int(3) unsigned;default:0;not null;comment:风险等级"` //'风险等级', ItineraryCardType int `json:"itinerary_card_type" gorm:"column:itinerary_card_type;type:int(2) unsigned;default:0;not null;comment:行程卡类型,仅行程卡类型的问题会返回该字段,0:行程码状态识别失败、1:绿码、2:红码、3:黄码、4:橙码、5:未识别出行程卡"` HighRiskArea string `json:"high_risk_area" gorm:"column:high_risk_area;type:text unsigned;default:0;not null;comment:高风险行程信息,仅行程卡类型的问题会返回该字段"` } func (ReportAddress *ReportAddress) TableName() string { return "report_address" } //未上报人员 type NotReportPeople struct { Id int64 `json:"id" gorm:"column:id;type:bigint(20);primaryKey;unique;not null;autoIncrement;index"` WechatId string `json:"wechatid" gorm:"column:wechat_id;type:varchar(255);not null;comment:上报人微信ID"` //'上报人微信ID', AddTime int64 `json:"addtime" gorm:"column:addtime;type:bigint(20) unsigned;default:0;not null;comment:写入时间"` //'写入时间', CalCulTime int64 `json:"calcultime" gorm:"column:calcultime;type:bigint(20) unsigned;default:0;not null;comment:计算时间"` //'计算时间', UserName string `json:"user_name" gorm:"column:user_name;type:varchar(255);comment:微信名称"` UserTel string `json:"user_tel" gorm:"column:user_tel;type:varchar(255);comment:微信电话联系方式"` MainDepartment int64 `json:"main_department" gorm:"column:main_department;type:bigint(20) unsigned;default:0;not null;comment:主部门"` //'主部门', GroupName string `json:"groupName" gorm:"column:group_name;type:varchar(255);comment:集团名称"` //'集团名称', GroupId int64 `json:"groupId" gorm:"column:group_id;type:bigint(20) unsigned;default:1;not null;comment:集团id"` //'集团id', } func (NotReportPeople *NotReportPeople) TableName() string { return "not_report_people" }