import { IsString, IsOptional, MaxLength } from 'class-validator';

export class CreateBoardDto {
	@IsString()
	@MaxLength(100)
	name: string;

	@IsOptional()
	@IsString()
	projectId?: string;

	@IsOptional()
	@IsString()
	@MaxLength(7)
	color?: string;

	@IsOptional()
	@IsString()
	@MaxLength(50)
	icon?: string;
}
