| | |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "仓库id", |
| | | "name": "warehouseId", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | "ReservationNever" |
| | | ] |
| | | }, |
| | | "gorm.DeletedAt": { |
| | | "type": "object", |
| | | "properties": { |
| | | "time": { |
| | | "type": "string" |
| | | }, |
| | | "valid": { |
| | | "description": "Valid is true if Time is not NULL", |
| | | "type": "boolean" |
| | | } |
| | | } |
| | | }, |
| | | "inventory_order.WorkerInfo": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "models.Attribute": { |
| | | "type": "object", |
| | | "properties": { |
| | | "createdAt": { |
| | | "type": "string" |
| | | }, |
| | | "dataType": { |
| | | "description": "值类型(1字符串 2 int 3 下拉框 )", |
| | | "type": "integer" |
| | | }, |
| | | "deletedAt": { |
| | | "$ref": "#/definitions/gorm.DeletedAt" |
| | | }, |
| | | "entityType": { |
| | | "description": "给谁用的 1 物料(产品)", |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "description": "属性名称", |
| | | "type": "string" |
| | | }, |
| | | "selectValues": { |
| | | "description": "dateType=3时用", |
| | | "type": "array", |
| | | "items": { |
| | | "type": "string" |
| | | } |
| | | }, |
| | | "updatedAt": { |
| | | "type": "string" |
| | | }, |
| | | "value": { |
| | | "description": "从AttributeValue取到的value", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/models.Attachment" |
| | | } |
| | | }, |
| | | "attributes": { |
| | | "description": "动态属性", |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/models.Attribute" |
| | | } |
| | | }, |
| | | "autoIncr": { |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "note": { |
| | | "type": "string" |
| | | }, |
| | | "operationId": { |
| | | "description": "操作id", |
| | | "type": "integer" |