21 lines
332 B
TypeScript
21 lines
332 B
TypeScript
import { IsNotEmpty } from 'class-validator';
|
|
import { productType } from '../../../helper/enum-list';
|
|
|
|
export class UpdatePriceProductDto {
|
|
@IsNotEmpty()
|
|
price: number;
|
|
|
|
@IsNotEmpty()
|
|
markUpPrice: number;
|
|
|
|
@IsNotEmpty()
|
|
type: productType;
|
|
|
|
@IsNotEmpty()
|
|
productType: string;
|
|
|
|
startDate: Date;
|
|
|
|
endDate: Date;
|
|
}
|