import { Expose } from 'class-transformer';
import { IsArray, IsNumber, IsOptional } from 'class-validator';
import { ValidationClass } from './validationClass';

export class SegmentableVC extends ValidationClass {
    @IsOptional()
    @Expose()
    @IsArray()
    @IsNumber({}, { each: true })
    segmentationItemIds!: number[];

    @IsOptional()
    @Expose()
    @IsArray()
    @IsNumber({}, { each: true })
    segmentationUserIds!: number[];
}
