更新swag
This commit is contained in:
@@ -7341,6 +7341,14 @@
|
|||||||
"dto.CurrentStockResponse": {
|
"dto.CurrentStockResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"last_operation_source_type": {
|
||||||
|
"description": "上次库存变动的来源类型",
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/definitions/models.StockLogSourceType"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"last_updated": {
|
"last_updated": {
|
||||||
"description": "最后更新时间",
|
"description": "最后更新时间",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ import { PaginationDTO, Response, StockLogSourceType } from '../enums';
|
|||||||
* @property {number} raw_material_id - 原料ID
|
* @property {number} raw_material_id - 原料ID
|
||||||
* @property {string} raw_material_name - 原料名称
|
* @property {string} raw_material_name - 原料名称
|
||||||
* @property {number} stock - 当前库存量, 单位: g
|
* @property {number} stock - 当前库存量, 单位: g
|
||||||
|
* @property {StockLogSourceType} [last_operation_source_type] - 上次库存变动的来源类型
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user