...
|
...
|
@@ -9,19 +9,19 @@ import ( |
|
|
|
|
|
type OrderGoods struct {
|
|
|
// 订单产品金额
|
|
|
OrderGoodAmount float64 `json:"orderGoodAmount"`
|
|
|
OrderGoodAmount float64 `cname:"订单产品金额" json:"orderGoodAmount"`
|
|
|
// 订单产品名称
|
|
|
OrderGoodName string `json:"orderGoodName"`
|
|
|
OrderGoodName string `cname:"订单产品名称" json:"orderGoodName"`
|
|
|
// 订单产品单价
|
|
|
OrderGoodPrice float64 `json:"orderGoodPrice"`
|
|
|
OrderGoodPrice float64 `cname:"订单产品单价" json:"orderGoodPrice"`
|
|
|
// 订单产品数量
|
|
|
OrderGoodQuantity int64 `json:"orderGoodQuantity,string"`
|
|
|
OrderGoodQuantity int64 `cname:"订单产品数量" json:"orderGoodQuantity"`
|
|
|
// 关联分红订单号
|
|
|
DividendsOrderNumber int64 `json:"dividendsOrderNumber,string"`
|
|
|
DividendsOrderNumber int64 `cname:"关联分红订单号" json:"dividendsOrderNumber"`
|
|
|
// 关联的共创合约编号
|
|
|
CooperationContractNumber string `json:"cooperationContractNumber"`
|
|
|
CooperationContractNumber string `cname:"关联的共创合约编号" json:"cooperationContractNumber"`
|
|
|
// 订单产品费用
|
|
|
OrderGoodExpense float64 `json:"orderGoodExpense"`
|
|
|
OrderGoodExpense float64 `cname:"订单产品费用" json:"orderGoodExpense"`
|
|
|
}
|
|
|
|
|
|
type CreateDividendsReturnedOrderCommand struct {
|
...
|
...
|
@@ -42,13 +42,13 @@ type CreateDividendsReturnedOrderCommand struct { |
|
|
// 订单产品列表
|
|
|
OrderGoods []*OrderGoods `cname:"订单产品列表" json:"orderGoods,omitempty"`
|
|
|
// 公司ID,通过集成REST上下文获取
|
|
|
CompanyId int64 `cname:"公司ID" json:"companyId,string" valid:"Required"`
|
|
|
CompanyId int64 `cname:"公司ID" json:"companyId" valid:"Required"`
|
|
|
// 组织机构ID
|
|
|
OrgId int64 `cname:"组织机构ID" json:"orgId,string" valid:"Required"`
|
|
|
OrgId int64 `cname:"组织机构ID" json:"orgId" valid:"Required"`
|
|
|
// 用户ID,通过集成REST上下文获取,可翻译成发起人、承接人、推荐人、业务员
|
|
|
UserId int64 `cname:"用户ID" json:"userId,string" valid:"Required"`
|
|
|
UserId int64 `cname:"用户ID" json:"userId" valid:"Required"`
|
|
|
// 用户基础数据id
|
|
|
UserBaseId int64 `cname:"用户基础数据ID" json:"userBaseId,string" valid:"Required"`
|
|
|
UserBaseId int64 `cname:"用户基础数据ID" json:"userBaseId" valid:"Required"`
|
|
|
}
|
|
|
|
|
|
func (createDividendsReturnedOrderCommand *CreateDividendsReturnedOrderCommand) Valid(validation *validation.Validation) {
|
...
|
...
|
|