feat: 实现出库导入、区块链存证、查询日志、看板与系统设置
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
import { ApiPropertyOptional } from '@nestjs/swagger';
|
||||
import { IsDateString, IsOptional, IsString, MaxLength } from 'class-validator';
|
||||
|
||||
export class OutboundDto {
|
||||
@ApiPropertyOptional({ description: 'SKU' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@MaxLength(80)
|
||||
sku?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: '档案编号' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@MaxLength(80)
|
||||
archiveNo?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: '出库时间' })
|
||||
@IsOptional()
|
||||
@IsDateString()
|
||||
outTime?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: '出库实况图存储 key' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
outImageKey?: string;
|
||||
|
||||
@ApiPropertyOptional({ description: '备注' })
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
@MaxLength(255)
|
||||
remark?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user