diff --git a/src/entity/responsible_party_consent.ts b/src/entity/responsible_party_consent.ts new file mode 100644 index 0000000..613e115 --- /dev/null +++ b/src/entity/responsible_party_consent.ts @@ -0,0 +1,33 @@ +import { Entity, + OneToOne, + PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn, ManyToOne, JoinColumn, ManyToMany } from "typeorm"; + +@Entity("responsible_party_consent") +export class ResponsiblePartyConsent { + @PrimaryGeneratedColumn("uuid") + id: string; + + @Column({ + nullable: true, + type: "text", + }) + body: string; + + @CreateDateColumn() + created_at: Date; + + @Column({ nullable: true, length: 256 }) + created_by: string; + + @UpdateDateColumn({ nullable: true }) + updated_at: Date; + + @Column({ nullable: true, length: 256 }) + updated_by: string; + + @DeleteDateColumn({ nullable: true }) + deleted_at: Date; + + @Column({ nullable: true, length: 256 }) + deleted_by: string; +}