12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- package req
- import (
- "time"
- "ulink-admin/pkg/base"
- )
- type RunQuery struct {
- base.GlobalQuery
- Id int64 `form:"id"` //主键id
- ServiceNo string `form:"serviceNo"` //服务资格证号
- Card string `form:"card"` //卡号
- Driver string `form:"driver"` //驾驶员姓名
- IdCard string `form:"idCard"` //身份证号
- CompanyId int64 `form:"companyId"` //现属公司
- CarNo string `form:"carNo"` //车牌号
- Address string `form:"address"` //违章地点
- ViolationDate string `form:"violationDate"` //违章日期
- Content string `form:"content"` //违章内容
- Score int `form:"score"` //加减分
- Company string `form:"company"` //执法单位
- HandlerDate string `form:"handlerDate"` //处理时间
- Remark string `form:"remark"` //备注
- CreateTime time.Time `form:"createTime"` //创建时间
- CreateBy string `form:"createBy"` //创建人
- UpdateTime time.Time `form:"updateTime"` //更新时间
- UpdateBy string `form:"updateBy"` //更新人
- }
- type RunBody struct {
- Id int64 `json:"id" ` //主键id
- ServiceNo string `json:"serviceNo" ` //服务资格证号
- Card string `json:"card" binding:"required"` //卡号
- Driver string `json:"driver" binding:"required"` //驾驶员姓名
- IdCard string `json:"idCard" binding:"required"` //身份证号
- CompanyId int64 `json:"companyId" binding:"required"` //现属公司
- CarNo string `json:"carNo" binding:"required"` //车牌号
- Address string `json:"address" ` //违章地点
- ViolationDate string `json:"violationDate" ` //违章日期
- Content string `json:"content" ` //违章内容
- Score int `json:"score" binding:"required"` //加减分
- Company string `json:"company" ` //执法单位
- HandlerDate string `json:"handlerDate" ` //处理时间
- Remark string `json:"remark" ` //备注
- CreateTime time.Time `json:"createTime" ` //创建时间
- CreateBy string `json:"createBy" ` //创建人
- UpdateTime time.Time `json:"updateTime" ` //更新时间
- UpdateBy string `json:"updateBy" ` //更新人
- }
|