package model /* 基础字段 */ // 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 }