24 lines
608 B
TypeScript
24 lines
608 B
TypeScript
import { ApiProperty, IntersectionType, PartialType } from '@nestjs/swagger';
|
|
import {
|
|
IsArray,
|
|
IsDate,
|
|
IsDateString,
|
|
IsIn,
|
|
IsInt,
|
|
IsNumber,
|
|
IsOptional,
|
|
IsString,
|
|
Matches,
|
|
MinLength
|
|
} from 'class-validator';
|
|
import { PagerDto } from '~/common/dto/pager.dto';
|
|
import { Storage } from '../tools/storage/storage.entity';
|
|
|
|
export class MaterialsInventoryDto {}
|
|
|
|
export class MaterialsInventoryUpdateDto extends PartialType(MaterialsInventoryDto) {}
|
|
export class MaterialsInventoryQueryDto extends IntersectionType(
|
|
PagerDto<MaterialsInventoryDto>,
|
|
PartialType(MaterialsInventoryDto)
|
|
) {}
|