zhangqian
2023-11-01 530fed8ec225453572d57b15c200ab062c335457
model/request/collectionProjection.go
@@ -2,10 +2,20 @@
type AddCollectionProjection struct {
   CollectionProjection
   SaleChanceId int `json:"sale_chance_id"` // 销售机会id
}
type CollectionProjection struct {
   EstimatedCollectionAmount float64 `json:"estimated_collection_amount"` // 预计收款金额
   EstimatedCollectionTime   string  `json:"estimated_collection_time"`   // 预计收款时间
   SaleChanceId              int     `json:"sale_chance_id"`              // 销售机会id
}
type UpdateCollectionProjection struct {
   Id int `json:"id"`
   CollectionProjection
}
type GetCollectionProjectionList struct {
   PageInfo
   SearchMap map[string]interface{} // 搜索条件: map[string]interface{}{"name": "xxx"}; {"sale_chance_id": 销售机会id}
}