import { IsMongoId, IsNumber, IsOptional } from 'class-validator';
import { Types } from 'mongoose';

export class CreateTaxDto {
  @IsOptional()
  @IsMongoId()
  _id?: Types.ObjectId;

  @IsNumber()
  tax_payment: number;

  @IsNumber()
  tax_card: number;
}
