56 lines
1.5 KiB
TypeScript
56 lines
1.5 KiB
TypeScript
|
import { ClaimBasic, ClaimBasicItem } from '../claim/claimbasic';
|
||
|
export class ClaimRule {
|
||
|
constructor() {
|
||
|
this.isAnnualBalance = false;
|
||
|
this.onceMonthly = false;
|
||
|
this.onceDaily = false;
|
||
|
this.isAtActualPayment = false;
|
||
|
this.isDesignationWiseDifferent = false;
|
||
|
this.notMaximum = 0;
|
||
|
this.maxServiceLength = 0;
|
||
|
this.monthDurationFromLastClaim = 0;
|
||
|
this.noOfDependent = 0;
|
||
|
this.fixedAmount = 0;
|
||
|
this.claimRuleDesignations = [];
|
||
|
this.claimBasicItems = [];
|
||
|
}
|
||
|
id: number;
|
||
|
isAnnualBalance: boolean;
|
||
|
onceMonthly: boolean;
|
||
|
onceDaily: boolean;
|
||
|
isAtActualPayment: boolean;
|
||
|
notMaximum: number;
|
||
|
maxServiceLength: number;
|
||
|
monthDurationFromLastClaim: number;
|
||
|
noOfDependent: number;
|
||
|
wfStatus:number;
|
||
|
claimBasicID: number;
|
||
|
fixedAmount: number;
|
||
|
isDesignationWiseDifferent: boolean;
|
||
|
claimRuleDesignations: ClaimRuleDesignations[];
|
||
|
claimBasicItems: ClaimBasicItem[]
|
||
|
allowAdvance: number;
|
||
|
annualBalance: string;
|
||
|
atActualPayment: string;
|
||
|
claimBasicName: string;
|
||
|
}
|
||
|
|
||
|
export class ClaimRuleDesignations {
|
||
|
constructor() {
|
||
|
this.amount = 0;
|
||
|
this.claimBasicItemName = "";
|
||
|
}
|
||
|
id: number;
|
||
|
claimPaymentGradesID: number;
|
||
|
claimRuleID: string;
|
||
|
claimBasicItemId: number;
|
||
|
designationID: number;
|
||
|
designationName: string;
|
||
|
claimBasicItemName: string;
|
||
|
claimBasicId: number;
|
||
|
amount: number;
|
||
|
rowNo: number;
|
||
|
}
|
||
|
|
||
|
|