From 30ea3b2fb126213d84a51f7e560ec3d229c5bf56 Mon Sep 17 00:00:00 2001 From: wayanrivan Date: Mon, 13 Apr 2026 10:51:30 +0700 Subject: [PATCH] update: responsible party consent done --- src/entity/responsible_party_consent.ts | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/entity/responsible_party_consent.ts 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; +}