| | |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "description": "客户id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Client" |
| | | } |
| | | ] |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "description": "客户id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Client" |
| | | } |
| | | ] |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | |
| | | "type": "integer" |
| | | }, |
| | | "salesDetailsId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractStatusId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractTypeId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceTimes": { |
| | |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "description": "客户id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Client" |
| | | } |
| | | ] |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | |
| | | "salesDetailsId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractStatusId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractTypeId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceTimes": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "description": "客户id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Client" |
| | | } |
| | | ] |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "description": "客户id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Client" |
| | | } |
| | | ] |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | |
| | | "type": "integer" |
| | | }, |
| | | "salesDetailsId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractStatusId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractTypeId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceTimes": { |
| | |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "description": "客户id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Client" |
| | | } |
| | | ] |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | |
| | | "salesDetailsId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractStatusId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractTypeId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceTimes": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | bankAccountId: |
| | | description: 账户id |
| | | type: integer |
| | | client: |
| | | allOf: |
| | | - $ref: '#/definitions/model.Client' |
| | | description: 客户id |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | |
| | | bankAccountId: |
| | | description: 账户id |
| | | type: integer |
| | | client: |
| | | allOf: |
| | | - $ref: '#/definitions/model.Client' |
| | | description: 客户id |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | |
| | | saleChanceId: |
| | | type: integer |
| | | salesDetailsId: |
| | | type: integer |
| | | serviceContractStatusId: |
| | | type: integer |
| | | serviceContractTypeId: |
| | | type: integer |
| | | serviceTimes: |
| | | type: integer |
| | |
| | | bankAccountId: |
| | | description: 账户id |
| | | type: integer |
| | | client: |
| | | allOf: |
| | | - $ref: '#/definitions/model.Client' |
| | | description: 客户id |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | |
| | | type: integer |
| | | salesDetailsId: |
| | | type: integer |
| | | serviceContractStatusId: |
| | | type: integer |
| | | serviceContractTypeId: |
| | | type: integer |
| | | serviceTimes: |
| | | type: integer |
| | | signTime: |
| | |
| | | } |
| | | |
| | | type ServiceContract struct { |
| | | ClientId int `json:"clientId"` |
| | | Number string `json:"number"` |
| | | MemberId int `json:"memberId" binding:"required"` |
| | | ContactId int `json:"contactId"` |
| | | SaleChanceId int `json:"saleChanceId"` |
| | | SalesDetailsId int `json:"salesDetailsId"` |
| | | QuotationId int `json:"quotationId"` |
| | | TypeId int `json:"typeId"` |
| | | SignTime string `json:"signTime" binding:"datetime=2006-01-02"` |
| | | StartTime string `json:"startTime"` |
| | | EndTime string `json:"endTime"` |
| | | StatusId int `json:"statusId"` |
| | | ServiceTimes int `json:"serviceTimes"` |
| | | Terms string `json:"terms"` |
| | | Remark string `json:"remark"` |
| | | Products []*model.Product `json:"products"` |
| | | ClientId int `json:"clientId"` |
| | | Number string `json:"number"` |
| | | MemberId int `json:"memberId" binding:"required"` |
| | | ContactId int `json:"contactId"` |
| | | SaleChanceId int `json:"saleChanceId"` |
| | | SalesDetailsId int `json:"salesDetailsId"` |
| | | QuotationId int `json:"quotationId"` |
| | | TypeId int `json:"typeId"` |
| | | SignTime string `json:"signTime" binding:"datetime=2006-01-02"` |
| | | StartTime string `json:"startTime"` |
| | | EndTime string `json:"endTime"` |
| | | StatusId int `json:"statusId"` |
| | | ServiceTimes int `json:"serviceTimes"` |
| | | Terms string `json:"terms"` |
| | | Remark string `json:"remark"` |
| | | Products []*model.Product `json:"products"` |
| | | ServiceContractTypeId int `json:"serviceContractTypeId"` |
| | | ServiceContractStatusId int `json:"serviceContractStatusId"` |
| | | } |
| | | |
| | | type UpdateServiceContract struct { |