| | |
| | | } |
| | | |
| | | type SaleChance struct { |
| | | Name string `json:"name" binding:"required"` |
| | | ClientId int `json:"client_id" binding:"required"` |
| | | Number string `json:"number" binding:"required"` |
| | | Name string `json:"name"` |
| | | ClientId int `json:"client_id"` |
| | | Number string `json:"number"` |
| | | ContactId int `json:"contact_id"` |
| | | SalesSourcesId int `json:"sales_sources_id"` |
| | | SaleTypeId int `json:"sale_type_id"` |
| | | SaleStageId int `json:"sale_stage_id"` |
| | | MemberId int `json:"member_id"` |
| | | RegularCustomersId int `json:"regular_customers_id"` |
| | | Competitors string `json:"competitors"` |
| | | Possibilities int `json:"possibilities"` |
| | | Budget float64 `json:"budget"` |
| | | ProjectedAmount float64 `json:"projected_amount"` |
| | | Currency int `json:"currency"` |
| | | ExpectedTime string `json:"expected_time"` |
| | | StatusId int `json:"status_id"` |
| | | PainPoints string `json:"pain_points"` |
| | | WhetherEstablished string `json:"whether_established"` |
| | | CapitalBudget string `json:"capital_budget"` |
| | | KeyMaker string `json:"key_maker"` |
| | | KeyFactors string `json:"key_factors"` |
| | | Process string `json:"process"` |
| | | Solutions string `json:"solutions"` |
| | | Advantages string `json:"advantages"` |
| | | Disadvantages string `json:"disadvantages"` |
| | | Opportunities string `json:"opportunities"` |
| | | Threats string `json:"threats"` |
| | | Address |
| | | } |
| | | |
| | | type UpdateSaleChance struct { |
| | | Id int `json:"id" binding:"required"` |
| | | SaleChance |
| | | } |