mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-08-26 06:09:41 +00:00
fix: remove comments from allowance entity
This commit is contained in:
@ -13,20 +13,7 @@ import { Guardian } from '~/guardian/entities/guradian.entity';
|
|||||||
import { Junior } from '~/junior/entities';
|
import { Junior } from '~/junior/entities';
|
||||||
import { AllowanceFrequency, AllowanceType } from '../enums';
|
import { AllowanceFrequency, AllowanceType } from '../enums';
|
||||||
import { AllowanceChangeRequest } from './allowance-change-request.entity';
|
import { AllowanceChangeRequest } from './allowance-change-request.entity';
|
||||||
/**
|
|
||||||
* id string [primary key]
|
|
||||||
amount number
|
|
||||||
freq enum //[DAILY,WEEKLY,MONTHLY]
|
|
||||||
type enum // [BY_END_DATE, BY_COUNT]
|
|
||||||
startDate date
|
|
||||||
endDate date
|
|
||||||
numberOfTransactions number
|
|
||||||
guardianId string [ref:> Guardians.id]
|
|
||||||
juniorId string [ref:> Juniors.id]
|
|
||||||
createdAt datetime
|
|
||||||
updatedAt datetime
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
@Entity('allowances')
|
@Entity('allowances')
|
||||||
export class Allowance {
|
export class Allowance {
|
||||||
@PrimaryGeneratedColumn('uuid')
|
@PrimaryGeneratedColumn('uuid')
|
||||||
|
Reference in New Issue
Block a user