pos-be/src/modules/item-related/item-rate/infrastructure/dto/update-item-rate.dto.ts

19 lines
502 B
TypeScript

import { BaseCoreDto } from 'src/core/modules/infrastructure/dto/base-core.dto';
import { ItemRateEntity } from '../../domain/entities/item-rate.entity';
import { ApiProperty } from '@nestjs/swagger';
import { Exclude } from 'class-transformer';
export class UpdateItemRateDto extends BaseCoreDto implements ItemRateEntity {
@Exclude()
item_id: string;
@Exclude()
season_period_id: string;
@ApiProperty({
type: Number,
required: true,
})
price: number;
}