File tree Expand file tree Collapse file tree 3 files changed +13
-1
lines changed
src/management/identities Expand file tree Collapse file tree 3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,11 @@ export class inetOrgPersonCreateDto {
9292 @ApiProperty ( { required : false } )
9393 @IsOptional ( )
9494 public jpegPhoto ?: string ;
95+
96+ @IsString ( )
97+ @ApiProperty ( { required : false } )
98+ @IsOptional ( )
99+ public photo ?: string ;
95100}
96101
97102export class inetOrgPersonDto extends inetOrgPersonCreateDto { }
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export class inetOrgPerson extends Document {
3131 public preferredLanguage ?: string ;
3232
3333 @Prop ( { type : String , required : true } )
34- sn : string ;
34+ public sn : string ;
3535
3636 @Prop ( { type : String , default : null } )
3737 public telephoneNumber ?: string ;
@@ -54,6 +54,9 @@ export class inetOrgPerson extends Document {
5454 @Prop ( { type : String , default : null } )
5555 public jpegPhoto ?: string ;
5656
57+ @Prop ( { type : String , default : null } )
58+ public photo ?: string ;
59+
5760 @Prop ( { type : String , default : null } )
5861 public userCertificate ?: string ;
5962
Original file line number Diff line number Diff line change 7272 " description " : " User password of the inetOrgPerson."
7373 },
7474 " jpegPhoto " : {
75+ " type " : " string" ,
76+ " description " : " User jpeg photo of the inetOrgPerson."
77+ },
78+ " photo " : {
7579 " type " : " string" ,
7680 " description " : " User photo of the inetOrgPerson."
7781 }
You can’t perform that action at this time.
0 commit comments