update : registration fee done

This commit is contained in:
wayanrivan
2026-03-30 11:28:50 +07:00
parent d7c5ed5830
commit b43592e88a
2 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,39 @@
import { Entity, PrimaryGeneratedColumn, Column, CreateDateColumn, UpdateDateColumn, DeleteDateColumn } from "typeorm";
@Entity("registration_fee")
export class RegistrationFee {
@PrimaryGeneratedColumn("uuid")
id: string;
@Column({
type: 'text',
nullable: true,
array: true,
})
service: string[];
@Column({
nullable: false,
unique: false,
length: 128,
})
type: string;
@CreateDateColumn()
created_at: Date;
@Column({ nullable: true, length: 256 })
created_by: string;
@UpdateDateColumn()
updated_at: Date;
@Column({ nullable: true, length: 256 })
updated_by: string;
@DeleteDateColumn()
deleted_at: Date;
@Column({ nullable: true, length: 256 })
deleted_by: string;
}

View File

@ -40,6 +40,7 @@ export * from "../entity/room_to_pharmacy"
export * from "../entity/faretype" export * from "../entity/faretype"
export * from "../entity/card_type" export * from "../entity/card_type"
export * from "../entity/payment_method" export * from "../entity/payment_method"
export * from "../entity/registrationfee"
export * from "../types/action"; export * from "../types/action";
export * from "../types/error"; export * from "../types/error";