|
|
@@ -98,14 +98,14 @@ type BusinessProduct struct {
|
|
|
|
|
|
// BusinessUpgradeReq 项目升级请求
|
|
|
type BusinessUpgradeReq struct {
|
|
|
- Id int `json:"id" v:"required|min:1#|id不能为空"` // 主键
|
|
|
- NboType string `json:"nboType" v:"required|in:10,20,30#项目级别不能为空|项目级别错误"` // 项目级别
|
|
|
- NboBudget float64 `json:"nboBudget" v:"required-unless:nboType,30|min:0.01#项目预算不能为空|项目预算应大于0"` // 项目预算
|
|
|
- DistributorId int `json:"distributorId" ` // 经销商/代理商ID
|
|
|
- DistributorName string `json:"distributorName" ` // 经销商/代理商名称
|
|
|
- TechnicalSupportName string `json:"technicalSupportName" v:"required-unless:nboType,30#技术支持人员不能为空"` // 技术支持人员
|
|
|
- TechnicalSupportContent string `json:"technicalSupportContent" v:"required-unless:nboType,30#技术支持内容不能为空"` // 技术支持内容
|
|
|
- TechnicalSupportTime *gtime.Time `json:"technicalSupportTime" v:"required-unless:nboType,30#技术支持时间不能为空"` // 技术支持时间
|
|
|
+ Id int `json:"id" v:"required|min:1#|id不能为空"` // 主键
|
|
|
+ NboType string `json:"nboType" v:"required|in:10,20,30#项目级别不能为空|项目级别错误"` // 项目级别
|
|
|
+ NboBudget float64 `json:"nboBudget" v:"required-unless:nboType,30#项目预算不能为空"` // 项目预算
|
|
|
+ DistributorId int `json:"distributorId" ` // 经销商/代理商ID
|
|
|
+ DistributorName string `json:"distributorName" ` // 经销商/代理商名称
|
|
|
+ TechnicalSupportName string `json:"technicalSupportName" v:"required-unless:nboType,30#技术支持人员不能为空"` // 技术支持人员
|
|
|
+ TechnicalSupportContent string `json:"technicalSupportContent" v:"required-unless:nboType,30#技术支持内容不能为空"` // 技术支持内容
|
|
|
+ TechnicalSupportTime *gtime.Time `json:"technicalSupportTime" v:"required-unless:nboType,30#技术支持时间不能为空"` // 技术支持时间
|
|
|
//CustomerSatisfaction string `json:"customerSatisfaction"` // 客户满意度 (10很满意、20满意、30较满意、40一般、50不满意)
|
|
|
ParentReceiver string `json:"parentReceiver"` // 总部对接人
|
|
|
NboBudgetTime *gtime.Time `json:"nboBudgetTime"` // 项目预算期限
|