forked from Ynov/ptitspas-ynov-back
enfants entity corrected
This commit is contained in:
parent
56bddbda7b
commit
b1925539a8
@ -47,21 +47,21 @@ export class Children {
|
||||
gender?: GenreType;
|
||||
|
||||
@Column({ type: 'date', nullable: true, name: 'date_naissance' })
|
||||
birthdate?: Date;
|
||||
birth_date?: Date;
|
||||
|
||||
@Column({ type: 'date', nullable: true, name: 'date_prevue_naissance' })
|
||||
due_date?: Date;
|
||||
|
||||
@Column({ nullable: true, name: 'photo_url' })
|
||||
@Column({ nullable: true, name: 'photo_url', type: 'text' })
|
||||
photo_url?: string;
|
||||
|
||||
@Column({ default: false, name: 'consentement_photo' })
|
||||
@Column({ default: false, name: 'consentement_photo', type: 'boolean' })
|
||||
consent_photo: boolean;
|
||||
|
||||
@Column({ type: 'timestamptz', nullable: true, name: 'date_consentement_photo' })
|
||||
consent_photo_at?: Date;
|
||||
|
||||
@Column({ default: false, name: 'est_multiple' })
|
||||
@Column({ default: false, name: 'est_multiple', type: 'boolean' })
|
||||
is_multiple: boolean;
|
||||
|
||||
// Lien via table de jointure enfants_parents
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user