@@ -22,12 +22,12 @@ export class inetOrgPersonCreateDto {
2222 @IsString ( )
2323 @ApiProperty ( )
2424 @IsOptional ( )
25- public departmentNumber : string ;
25+ public departmentNumber : string = '' ;
2626
2727 @IsString ( )
2828 @ApiProperty ( )
2929 @IsOptional ( )
30- public sn ?: string ;
30+ public sn ?: string = '' ;
3131
3232 @IsString ( )
3333 @ApiProperty ( { required : false } )
@@ -37,7 +37,7 @@ export class inetOrgPersonCreateDto {
3737 @IsString ( )
3838 @ApiProperty ( { required : false } )
3939 @IsOptional ( )
40- public facsimileTelephoneNumber ?: string ;
40+ public facsimileTelephoneNumber ?: string = '' ;
4141
4242 @IsString ( )
4343 @ApiProperty ( { required : false } )
@@ -47,11 +47,11 @@ export class inetOrgPersonCreateDto {
4747 @IsString ( )
4848 @ApiProperty ( { required : false } )
4949 @IsOptional ( )
50- public labeledURI ?: string ;
50+ public labeledURI ?: string = '' ;
5151
5252 @IsEmail ( )
5353 @ApiProperty ( { required : false } )
54- public mail ?: string ;
54+ public mail ?: string = '' ;
5555
5656 @IsOptional ( )
5757 @IsString ( )
@@ -72,7 +72,7 @@ export class inetOrgPersonCreateDto {
7272 @IsString ( )
7373 @ApiProperty ( { required : false } )
7474 @IsOptional ( )
75- public telephoneNumber ?: string ;
75+ public telephoneNumber ?: string = '' ;
7676
7777 @IsString ( )
7878 @ApiProperty ( { required : false } )
@@ -82,17 +82,17 @@ export class inetOrgPersonCreateDto {
8282 @IsString ( )
8383 @ApiProperty ( { required : false } )
8484 @IsOptional ( )
85- public userCertificate ?: string ;
85+ public userCertificate ?: string = '' ;
8686
8787 @IsString ( )
8888 @ApiProperty ( { required : false } )
8989 @IsOptional ( )
90- public userPassword ?: string ;
90+ public userPassword ?: string = '' ;
9191
9292 @IsString ( )
9393 @ApiProperty ( { required : false } )
9494 @IsOptional ( )
95- public jpegPhoto ?: string ;
95+ public jpegPhoto ?: string = '' ;
9696
9797 // @IsString ()
9898 // @ApiProperty ({ required: false })
0 commit comments