liujiandao
2023-10-11 34ef7217a034599217a7fdd1e28e1ae6910e1b4b
model/request/salesLeads.go
@@ -1,21 +1,26 @@
package request
import "aps_crm/constvar"
import (
   "aps_crm/constvar"
   "aps_crm/proto/code"
)
type AddSalesLeads struct {
   SalesLeads
}
type SalesLeads struct {
   Name            string `json:"name"`             // 公司名称
   Number          string `json:"number"`           // 销售线索编号
   ContactName     string `json:"contact_name"`     // 联系人姓名
   ContactPhone    string `json:"contact_phone"`    // 联系人电话
   ContactPosition string `json:"contact_position"` // 联系人职位
   SalesSourcesId  int    `json:"sales_sources_id"` // 商机来源ID
   MemberId        int    `json:"member_id"`        // 销售负责人ID
   Desc            string `json:"desc"`             // 备注
   DetailAddress   string `json:"detail_address"`   // 详细地址
   Name            string            `json:"name"`             // 公司名称
   Number          string            `json:"number"`           // 销售线索编号
   ContactName     string            `json:"contact_name"`     // 联系人姓名
   ContactPhone    string            `json:"contact_phone"`    // 联系人电话
   ContactPosition string            `json:"contact_position"` // 联系人职位
   SalesSourcesId  int               `json:"sales_sources_id"` // 商机来源ID
   MemberId        int               `json:"member_id"`        // 销售负责人ID
   Desc            string            `json:"desc"`             // 备注
   DetailAddress   string            `json:"detail_address"`   // 详细地址
   CodeStandID     string            `json:"codeStandID"`      //编码id
   CodeRule        code.CodeStandard `json:"codeRule"`
   Address
}