mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-08-25 21:59:40 +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 { AllowanceFrequency, AllowanceType } from '../enums';
|
||||
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')
|
||||
export class Allowance {
|
||||
@PrimaryGeneratedColumn('uuid')
|
||||
|
Reference in New Issue
Block a user