package model /* 基础字段 */ type EmptyArgs struct{} // Page 分页 type Page struct { Current int `json:"current"` Size int `json:"size"` } // OrderBy 排序 type OrderBy struct { Type string `json:"type"` // desc asc 正序倒序 Value string `json:"value"` // 字段名称 } // ListReq 列表请求实体 type ListReq struct { Page OrderBy Entity interface{} `json:"entity"` } // 违约规则 type ContractBreach struct { MinPoint int MaxPoint int Persent float64 } type IdRequiredReq struct { Id int `json:"id" v:"required#请输入Id"` }