Initial WhaleTown V2 backend

This commit is contained in:
2026-07-20 02:00:52 +08:00
commit c995891c1f
265 changed files with 75689 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
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;
}