|
|
@@ -9,104 +9,104 @@ export class Organization extends Model {
|
|
|
@Attr({})
|
|
|
originalState!: object | null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- name!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ name!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- acronym!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ acronym!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- siretNumber!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ siretNumber!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- apeNumber!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ apeNumber!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- waldecNumber!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ waldecNumber!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- identifier!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ identifier!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- ffecApproval!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ ffecApproval!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- description!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ description!: string|null
|
|
|
|
|
|
@Attr([])
|
|
|
typeOfPractices!: []
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- otherPractice!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ otherPractice!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- legalStatus!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ legalStatus!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- principalType!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ principalType!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- youngApproval!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ youngApproval!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- trainingApproval!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ trainingApproval!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- otherApproval!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ otherApproval!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- collectiveAgreement!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ collectiveAgreement!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- opca!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ opca!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- icomNumber!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ icomNumber!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- urssafNumber!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ urssafNumber!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- twitter!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ twitter!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- youtube!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ youtube!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- facebook!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ facebook!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- instagram!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ instagram!: string|null
|
|
|
|
|
|
@Bool(true, { nullable: false })
|
|
|
portailVisibility!: boolean
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- image!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ image!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- creationDate!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ creationDate!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- prefectureName!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ prefectureName!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- prefectureNumber!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ prefectureNumber!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- declarationDate!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ declarationDate!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- tvaNumber!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ tvaNumber!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- schoolCategory!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ schoolCategory!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- typeEstablishment!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ typeEstablishment!: string|null
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- typeEstablishmentDetail!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ typeEstablishmentDetail!: string|null
|
|
|
|
|
|
@Bool(false, { nullable: false })
|
|
|
isPerformanceContractor!: boolean
|
|
|
@@ -120,6 +120,6 @@ export class Organization extends Model {
|
|
|
@Num(0, { nullable: true })
|
|
|
pedagogicBudget!: number
|
|
|
|
|
|
- @Str('', { nullable: true })
|
|
|
- logo!: string
|
|
|
+ @Str(null, { nullable: true })
|
|
|
+ logo!: string|null
|
|
|
}
|