| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. Fill this file as you wish.
- // ==========================================================================
- package model
- import (
- "dashoo.cn/micro/app/model/proj/internal"
- "dashoo.cn/opms_libary/request"
- )
- // ProjBusinessContact is the golang structure for table proj_business_contact.
- type ProjBusinessContact internal.ProjBusinessContact
- // Fill with you ideas below.
- type BusinessContact struct {
- Id int `json:"id"` // 主键
- BusId int `json:"busId"` // 关联项目
- ContactId int `json:"contactId"` // 联系人主键
- CustId int `json:"custId" ` // 关联客户
- CuctName string `json:"cuctName" ` // 姓名
- CuctGender string `json:"cuctGender"` // 性别(10男20女)
- Telephone string `json:"telephone"` // 电话
- Wechat string `json:"wechat"` // 微信
- Email string `json:"email"` // 邮箱
- Dept string `json:"dept"` // 部门
- Postion string `json:"postion"` // 职位
- OfficeLocation string `json:"officeLocation"` // 办公地点
- IsDecision string `json:"isDecision"` // 关键决策人(10是20否)
- }
- // BusinessContactSearchReq 获取项目关联联系人信息
- type BusinessContactSearchReq struct {
- BusId int64 `json:"busId" v:"required|min:1#|关联项目不能为空"` // 主键
- CuctId int `json:"cuctId"` // 客户联系人
- CuctName string `json:"cuctName"` // 客户联系人姓名
- request.PageReq
- }
- type BusinessContactReq struct {
- BusId int `json:"busId" v:"required|min:1#|关联项目不能为空"` // 关联项目
- ContactIds []int `json:"contactIds" v:"required#联系人不能为空"` // 联系人主键
- Remark string `json:"remark"` // 备注
- }
|