| | |
| | | "type": "object", |
| | | "properties": { |
| | | "amount": { |
| | | "description": "数量", |
| | | "description": "ProductName string ` + "`" + `json:\"productName\" gorm:\"type:varchar(255);not null;comment:产品名称\"` + "`" + ` //产品名称", |
| | | "type": "number" |
| | | }, |
| | | "createTime": { |
| | |
| | | "description": "操作id", |
| | | "type": "integer" |
| | | }, |
| | | "product": { |
| | | "description": "Unit string ` + "`" + `json:\"unit\" gorm:\"type:varchar(31);comment:单位\"` + "`" + ` //单位", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/models.Material" |
| | | } |
| | | ] |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "string" |
| | | }, |
| | | "productName": { |
| | | "description": "产品名称", |
| | | "type": "string" |
| | | }, |
| | | "unit": { |
| | | "type": "string" |
| | | }, |
| | | "updateTime": { |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "amount": { |
| | | "description": "ProductName string ` + "`" + `json:\"productName\"` + "`" + `", |
| | | "type": "number" |
| | | }, |
| | | "fromLocationId": { |
| | |
| | | "productId": { |
| | | "type": "string" |
| | | }, |
| | | "productName": { |
| | | "type": "string" |
| | | }, |
| | | "sourceNumber": { |
| | | "type": "string" |
| | | }, |
| | | "toLocationId": { |
| | | "type": "integer" |
| | | }, |
| | | "unit": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "integer" |
| | | }, |
| | | "amount": { |
| | | "description": "数量", |
| | | "description": "ProductName string ` + "`" + `json:\"productName\" gorm:\"type:varchar(255);not null;comment:产品名称\"` + "`" + ` //产品名称", |
| | | "type": "number" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "string" |
| | | }, |
| | | "productName": { |
| | | "description": "产品名称", |
| | | "type": "string" |
| | | }, |
| | | "unit": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "type": "object", |
| | | "properties": { |
| | | "amount": { |
| | | "description": "ProductName string ` + "`" + `json:\"productName\"` + "`" + `", |
| | | "type": "number" |
| | | }, |
| | | "fromLocationId": { |
| | |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "description": "Unit string ` + "`" + `json:\"unit\"` + "`" + `", |
| | | "type": "string" |
| | | }, |
| | | "operationDate": { |
| | | "type": "string" |
| | | }, |
| | | "productId": { |
| | | "type": "string" |
| | | }, |
| | | "productName": { |
| | | "type": "string" |
| | | }, |
| | | "sourceNumber": { |
| | |
| | | }, |
| | | "toLocationId": { |
| | | "type": "integer" |
| | | }, |
| | | "unit": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |