zhangqian
2023-11-01 530fed8ec225453572d57b15c200ab062c335457
model/response/response.go
@@ -47,11 +47,13 @@
   }
   ContactResponse struct {
      List []*model.ContactDetail `json:"list"`
      List  []*model.ContactDetail `json:"list"`
      Count int                    `json:"count"`
   }
   ClientResponse struct {
      List []*model.Client `json:"list"`
      List  []*model.Client `json:"list"`
      Count int             `json:"count"`
   }
   ClientStatusResponse struct {
@@ -87,7 +89,8 @@
   }
   SalesLeadsResponse struct {
      List []*model.SalesLeads `json:"list"`
      List  []*model.SalesLeads `json:"list"`
      Count int                 `json:"count"`
   }
   SalesSourceResponse struct {
@@ -95,11 +98,13 @@
   }
   FollowRecordResponse struct {
      List []*model.FollowRecord `json:"list"`
      List  []*model.FollowRecord `json:"list"`
      Count int                   `json:"count"`
   }
   SaleChanceResponse struct {
      List []*model.SaleChance `json:"list"`
      List  []*model.SaleChance `json:"list"`
      Count int                 `json:"count"`
   }
   SaleStageResponse struct {
@@ -123,14 +128,229 @@
   }
   QuotationResponse struct {
      List []*model.Quotation `json:"list"`
      List  []*model.Quotation `json:"list"`
      Count int                `json:"count"`
   }
   MasterOrderResponse struct {
      List []*model.MasterOrder `json:"list"`
      List  []*model.MasterOrder `json:"list"`
      Count int                  `json:"count"`
   }
   SubOrderResponse struct {
      List []*model.SubOrder `json:"list"`
      List  []*model.SubOrder `json:"list"`
      Count int               `json:"count"`
   }
   SalesDetailsResponse struct {
      List  []*model.SalesDetails `json:"list"`
      Count int                   `json:"count"`
   }
   SalesReturnResponse struct {
      List  []*model.SalesReturn `json:"list"`
      Count int                  `json:"count"`
   }
   SalesRefundResponse struct {
      List  []*model.SalesRefund `json:"list"`
      Count int                  `json:"count"`
   }
   ContractResponse struct {
      List  []*model.Contract `json:"list"`
      Count int               `json:"count"`
   }
   PlanResponse struct {
      List  []*model.Plan `json:"list"`
      Count int           `json:"count"`
   }
   ServiceContractsResponse struct {
      List  []*model.ServiceContract `json:"list"`
      Count int                      `json:"count"`
   }
   OrderManageResponse struct {
      List  []*model.OrderManage `json:"list"`
      Count int                  `json:"count"`
   }
   ServiceFollowupResponse struct {
      List  []*model.ServiceFollowup `json:"list"`
      Count int                      `json:"count"`
   }
   CustomerServiceSheetResponse struct {
      List []*model.CustomerServiceSheet `json:"list"`
   }
   ServiceFeeManageResponse struct {
      List  []*model.ServiceFeeManage `json:"list"`
      Count int                       `json:"count"`
   }
   MenuTreeResponse struct {
      List []model.Menu `json:"list"`
   }
   DataResponse struct {
      // 币种
      Currency []*model.Currency `json:"currency"`
      // 报价单状态
      QuotationStatus []*model.QuotationStatus `json:"quotationStatus"`
      // 退货仓库
      Repository []*model.Repository `json:"repository"`
      // 退货单状态
      SalesReturnStatus []*model.SalesReturnStatus `json:"salesReturnStatus"`
      // 账户
      AccountId []*model.AccountId `json:"accountId"`
      // 是否开票
      IsInvoice []*model.IsInvoice `json:"isInvoice"`
      // 退款方式
      RefundMethod []*model.RefundMethod `json:"refundMethod"`
      // 服务合同类型
      ServiceContractType []*model.ServiceContractType `json:"serviceContractType"`
      // 服务合同状态
      ServiceContractStatus []*model.ServiceContractStatus `json:"serviceContractStatus"`
      // 工单类型
      OrderType []*model.OrderType `json:"orderType"`
      // 报表来源
      ReportSource []*model.ReportSource `json:"reportSource"`
      // 服务人员是否来过
      IsVisit []*model.IsVisit `json:"isVisit"`
      // 国家数据
      Country []*model.Country `json:"country"`
      // 省份数据
      Province []*model.Province `json:"province"`
      // 城市数据
      City []*model.City `json:"city"`
      // 区域数据
      Region []*model.Region `json:"region"`
      // 客户等级
      ClientLevel []*model.ClientLevel `json:"client_level"`
      // 客户状态
      ClientStatus []*model.ClientStatus `json:"client_status"`
      // 客户类型
      ClientType []*model.ClientType `json:"client_type"`
      // 客户来源
      ClientOrigin []*model.ClientOrigin `json:"client_origin"`
      // 行业
      Industry []*model.Industry `json:"industry"`
      // 企业性质
      EnterpriseNature []*model.EnterpriseNature `json:"enterprise_nature"`
      // 注册资金
      RegisteredCapital []*model.RegisteredCapital `json:"registered_capital"`
      // 企业规模
      EnterpriseScale []*model.EnterpriseScale `json:"enterprise_scale"`
      // 销售阶段
      SaleStage []*model.SaleStage `json:"sale_stage"`
      // 销售类型
      SaleType []*model.SaleType `json:"sale_type"`
      // 商机来源
      SalesSource []*model.SalesSources `json:"sales_source"`
      // 老客户营销
      RegularCustomers []*model.RegularCustomers `json:"regular_customers"`
      // Member
      Member []*model.User `json:"member"`
      // 部门
      Department []*model.Department `json:"department"`
      // 满意度
      Satisfaction []*model.Satisfaction `json:"satisfaction"`
      // 及时率
      TimelyRate []*model.TimelyRate `json:"timely_rate"`
      // 解决率
      SolveRate []*model.SolveRate `json:"solve_rate"`
      // 可能性
      Possibility []*model.Possibility `json:"possibility"`
      // 状态
      Status []*model.Status `json:"status"`
   }
   DepartmentResponse struct {
      List []*model.Department `json:"list"`
   }
   SatisfactionResponse struct {
      List []*model.Satisfaction `json:"list"`
   }
   TimelyRateResponse struct {
      List []*model.TimelyRate `json:"list"`
   }
   SolveRateResponse struct {
      List []*model.SolveRate `json:"list"`
   }
   IsVisitResponse struct {
      List []*model.IsVisit `json:"list"`
   }
   ReportSourceResponse struct {
      List []*model.ReportSource `json:"list"`
   }
   OrderTypeResponse struct {
      List []*model.OrderType `json:"list"`
   }
   ServiceContractStatusResponse struct {
      List []*model.ServiceContractStatus `json:"list"`
   }
   ServiceContractTypeResponse struct {
      List []*model.ServiceContractType `json:"list"`
   }
   RefundMethodResponse struct {
      List []*model.RefundMethod `json:"list"`
   }
   IsInvoiceResponse struct {
      List []*model.IsInvoice `json:"list"`
   }
   AccountIdResponse struct {
      List []*model.AccountId `json:"list"`
   }
   SalesReturnStatusResponse struct {
      List []*model.SalesReturnStatus `json:"list"`
   }
   RepositoryResponse struct {
      List []*model.Repository `json:"list"`
   }
   QuotationStatusResponse struct {
      List []*model.QuotationStatus `json:"list"`
   }
   CurrencyResponse struct {
      List []*model.Currency `json:"list"`
   }
   CollectionProjectionListResponse struct {
      List  []*model.CollectionProjection `json:"list"`
      Count int                           `json:"count"`
   }
   ContactInformationResponse struct {
      List []*model.ContactInformation `json:"list"`
   }
)