| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. Fill this file as you wish.
- // ==========================================================================
- package model
- import (
- "dashoo.cn/micro/app/model/partner/internal"
- "dashoo.cn/opms_libary/request"
- )
- // PartnerCompanyContact is the golang structure for table partner_company_contact.
- type PartnerCompanyContact internal.PartnerCompanyContact
- // Fill with you ideas below.
- type PartnerCompanyContactListReq struct {
- request.PageReq
- PartnerId int `json:"partnerId"` // 所属合作伙伴
- Name string `json:"name"` // 姓名
- Post string `json:"post"` // 岗位
- }
- type PartnerCompanyContactAddReq struct {
- PartnerId int `json:"partnerId" v:"required#合作伙伴Id不能为空"` // 所属合作伙伴
- Name string `json:"name" v:"required#名称不能为空"` // 姓名
- Post string `json:"post"` // 岗位
- ContactWay string `json:"contactWay"` // 电话
- Territory string `json:"territory"` // 负责区域
- Remark string `json:"remark"` // 备注
- }
- type PartnerCompanyContactUpdateReq struct {
- Id int `json:"id" v:"required#请输入Id"`
- Name string `json:"name"` // 姓名
- Post *string `json:"post"` // 岗位
- ContactWay *string `json:"contactWay"` // 电话
- Territory *string `json:"territory"` // 负责区域
- Remark *string `json:"remark"` // 备注
- }
- type PartnerCompanyContactExcelUploadReq struct {
- PartnerId int `json:"partnerId" v:"required#合作伙伴Id不能为空"` // 所属合作伙伴
- ExcelUrl string `json:"excelUrl" v:"required#请输入excel地址"` // excel 文件地址
- }
|