@@ -3,62 +3,62 @@ import { Document } from 'mongoose';
33
44@Schema ( { _id : false } )
55export class inetOrgPerson extends Document {
6- @Prop ( { required : true } )
6+ @Prop ( { type : String , required : true } )
77 cn : string ;
88
9- @Prop ( )
9+ @Prop ( { type : String , default : null } )
1010 displayName ?: string ;
1111
12- @Prop ( )
12+ @Prop ( { type : String , default : null } )
1313 facsimileTelephoneNumber ?: string ;
1414
15- @Prop ( )
15+ @Prop ( { type : String , default : null } )
1616 givenName ?: string ;
1717
18- @Prop ( )
18+ @Prop ( { type : String , default : null } )
1919 labeledURI ?: string ;
2020
21- @Prop ( )
21+ @Prop ( { type : String , default : null } )
2222 mail ?: string ;
2323
24- @Prop ( )
24+ @Prop ( { type : String , default : null } )
2525 mobile ?: string ;
2626
27- @Prop ( )
27+ @Prop ( { type : String , default : null } )
2828 postalAddress ?: string ;
2929
30- @Prop ( )
30+ @Prop ( { type : String , default : null } )
3131 preferredLanguage ?: string ;
3232
33- @Prop ( { required : true } )
33+ @Prop ( { type : String , required : true } )
3434 sn : string ;
3535
36- @Prop ( )
36+ @Prop ( { type : String , default : null } )
3737 telephoneNumber ?: string ;
3838
39- @Prop ( )
39+ @Prop ( { type : String , default : null } )
4040 title ?: string ;
4141
42- @Prop ( { required : true } )
42+ @Prop ( { type : String , required : true } )
4343 uid : string ;
4444
45- @Prop ( { required : true } )
45+ @Prop ( { type : String , required : true } )
4646 employeeNumber : string ;
4747
48- @Prop ( { required : true } )
48+ @Prop ( { type : String , required : true } )
4949 employeeType : string ;
5050
51- @Prop ( )
51+ @Prop ( { type : String , required : true } )
5252 departmentNumber : string ;
5353
54- @Prop ( )
54+ @Prop ( { type : String , default : null } )
5555 jpegPhoto ?: string ;
5656
57- @Prop ( )
58- userCertificate ?: string ;
57+ // @Prop ({ type: String, default: null } )
58+ // userCertificate?: string;
5959
60- @Prop ( )
61- userPassword ?: string ;
60+ // @Prop ({ type: String, default: null } )
61+ // userPassword?: string;
6262}
6363
6464export const inetOrgPersonSchema = SchemaFactory . createForClass ( inetOrgPerson ) . index (
0 commit comments