import { IsString, IsOptional, IsEnum } from 'class-validator'
import { SettingStatus } from 'generated/prisma/client'

export class CreateHeaderDto {
  @IsString()
  code: string

  @IsOptional()
  @IsString()
  description?: string

  @IsOptional()
  @IsEnum(SettingStatus)
  status?: SettingStatus
}