|
|
@@ -37,6 +37,11 @@ export class CreatePersonInfoDto {
|
|
|
@IsEmail()
|
|
|
@MaxLength(100)
|
|
|
emergencyContactEmail?: string
|
|
|
+
|
|
|
+ @IsOptional()
|
|
|
+ @IsString()
|
|
|
+ @MaxLength(500)
|
|
|
+ location?: string
|
|
|
}
|
|
|
|
|
|
export class UpdatePersonInfoDto {
|
|
|
@@ -83,6 +88,11 @@ export class UpdatePersonInfoDto {
|
|
|
@IsEmail()
|
|
|
@MaxLength(100)
|
|
|
emergencyContactEmail?: string
|
|
|
+
|
|
|
+ @IsOptional()
|
|
|
+ @IsString()
|
|
|
+ @MaxLength(500)
|
|
|
+ location?: string
|
|
|
}
|
|
|
|
|
|
export class QueryPersonInfoDto {
|
|
|
@@ -158,5 +168,10 @@ export class AdminUpdatePersonInfoDto {
|
|
|
@IsEmail()
|
|
|
@MaxLength(100)
|
|
|
emergencyContactEmail?: string
|
|
|
+
|
|
|
+ @IsOptional()
|
|
|
+ @IsString()
|
|
|
+ @MaxLength(500)
|
|
|
+ location?: string
|
|
|
}
|
|
|
|