update : registration fee done
This commit is contained in:
39
src/entity/registrationfee.ts
Normal file
39
src/entity/registrationfee.ts
Normal 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;
|
||||||
|
}
|
||||||
@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user