import { ApiProperty } from '@nestjs/swagger';
import { IsNumber, IsString } from 'class-validator';

export class CreateExpenseDto {
	@ApiProperty()
	@IsString()
	category: string;

	@ApiProperty()
	@IsNumber()
	amount: number;

	@ApiProperty()
	@IsString()
	description: string;

	@ApiProperty()
	@IsNumber()
	jobId: number;
}
