import { IsString, Length, Matches } from 'class-validator';

export class ResignCafeCompanionEmploymentDto {
  @IsString({ message: '服务点ID必须是字符串' })
  @Length(1, 80, { message: '服务点ID长度需在1-80字符之间' })
  @Matches(/^[A-Za-z0-9_:-]+$/, { message: '服务点ID格式不正确' })
  service_point_id!: string;
}
