Compare commits

..

No commits in common. "ba0a2ea7df7a9f9f73ae37819aaf23d0009ff621" and "67b00b9d6f1fae4f74ddd7a3e411c3c969942c1b" have entirely different histories.

View File

@ -27,12 +27,12 @@ export class Validation {
default: StatutValidationType.EN_ATTENTE
})
status: StatutValidationType;
@ManyToOne(() => Users, { nullable: true })
@JoinColumn({ name: 'valide_par', referencedColumnName: 'id' })
validated_by?: Users;
@Column( { name: 'commentaire', type: 'text', nullable: true })
@Column( { name: 'commenteaire', type: 'text', nullable: true })
comment?: string;
@CreateDateColumn({ name: 'cree_le', type: 'timestamptz' })
@ -40,5 +40,5 @@ export class Validation {
@UpdateDateColumn({ name: 'modifie_le', type: 'timestamptz' })
updated_at: Date;
}