SeverancePayHypothesisSolutionFundingPlan
SeverancePayHypothesisSolutionFundingPlan
Description
LâentitĂ© SeverancePayHypothesisSolutionFundingPlan contient les informations liĂ©es au plan de financement associĂ© Ă une solution de financement.
Relations
Ascendantes
Entité | Propriété |
|---|---|
SeverancePayHypothesisSolution | severancePayHypothesisSolutionFundingPlans |
Descendantes
Entité | Propriété |
|---|---|
History | history |
Liste des propriétés
Nom | Type | DerniÚre version modifiée | Description | Getter | Setter | Deprecated |
|---|---|---|---|---|---|---|
annualDeposit | Number | 2.9.0 | Il sâagit du versement initial de lâannĂ©e | getSeverancePayHypothesisSolutionFundingPlanAnnualDeposit | setSeverancePayHypothesisSolutionFundingPlanAnnualDeposit | - |
companyTaxGains | Number | 2.9.0 | Il s'agit du gain d'ImpÎts sur les sociétés pour l'entreprise | getSeverancePayHypothesisSolutionFundingPlanCompanyTaxGains | setSeverancePayHypothesisSolutionFundingPlanCompanyTaxGains | - |
createdAt | Date | ï»ż | Date de crĂ©ation de l'entitĂ© SeverancePayHypothesisSolutionFundingPlan | getSeverancePayHypothesisSolutionFundingPlanCreatedAt | Lecture seule | - |
createdBy | String | ï»ż | Utilisateur Ă l'origine de la crĂ©ation de l'entitĂ© SeverancePayHypothesisSolutionFundingPlan | getSeverancePayHypothesisSolutionFundingPlanCreatedBy | Lecture seule | - |
departureNumber | Number | 2.9.0 | Il sâagit du nombre de dĂ©part | getSeverancePayHypothesisSolutionFundingPlanDepartureNumber | setSeverancePayHypothesisSolutionFundingPlanDepartureNumber | - |
id | String | ï»ż | Identifiant unique de l'entitĂ© SeverancePayHypothesisSolutionFundingPlan | getSeverancePayHypothesisSolutionFundingPlanId | Lecture seule | - |
potentialSeverancePay | Number | 2.9.0 | Il sâagit de l'IFC probable. Cela correspond au montant des engagements pour lâannĂ©e | getSeverancePayHypothesisSolutionFundingPlanPotentialSeverancePay | setSeverancePayHypothesisSolutionFundingPlanPotentialSeverancePay | - |
updatedAt | Date | ï»ż | Date de modification de l'entitĂ© SeverancePayHypothesisSolutionFundingPlan | getSeverancePayHypothesisSolutionFundingPlanUpdatedAt | Lecture seule | - |
updatedBy | String | ï»ż | Utilisateur Ă l'origine de la modification de l'entitĂ© SeverancePayHypothesisSolutionFundingPlan | getSeverancePayHypothesisSolutionFundingPlanUpdatedBy | Lecture seule | - |
year | String | 2.9.0 | Il sâagit de lâannĂ©e du plan de financement | getSeverancePayHypothesisSolutionFundingPlanYear | setSeverancePayHypothesisSolutionFundingPlanYear | - |
yearEndBalance | Number | 2.9.0 | Il sâagit du montant en compte en fin dâannĂ©e | getSeverancePayHypothesisSolutionFundingPlanYearEndBalance | setSeverancePayHypothesisSolutionFundingPlanYearEndBalance | - |
yearEndInterestAmount | Number | 2.9.0 | Il sâagit du montant des intĂ©rĂȘts en fin dâannĂ©e | getSeverancePayHypothesisSolutionFundingPlanYearEndInterestAmount | setSeverancePayHypothesisSolutionFundingPlanYearEndInterestAmount | - |
Enums
Aucune enumération disponible pour cette entité.
Exemple
import { Entities } from '@fasstech/oip-core';
import { getHypothesisId } from '@fasstech/oip-core/entities/hypothesis';
import { getOfferId } from '@fasstech/oip-core/entities/offer';
import { getProjectId } from '@fasstech/oip-core/entities/project';
import { getSeverancePayHypothesisSolutionId } from '@fasstech/oip-core/entities/severancePayHypothesisSolution';
import { getSeverancePayHypothesisSolutionFundingPlanAnnualDeposit, getSeverancePayHypothesisSolutionFundingPlanCompanyTaxGains, getSeverancePayHypothesisSolutionFundingPlanDepartureNumber, getSeverancePayHypothesisSolutionFundingPlanPotentialSeverancePay, getSeverancePayHypothesisSolutionFundingPlanYear, getSeverancePayHypothesisSolutionFundingPlanYearEndBalance, getSeverancePayHypothesisSolutionFundingPlanYearEndInterestAmount, getseverancePayHypothesisSolutionFundingPlanId, setSeverancePayHypothesisSolutionFundingPlanAnnualDeposit, setSeverancePayHypothesisSolutionFundingPlanCompanyTaxGains, setSeverancePayHypothesisSolutionFundingPlanDepartureNumber, setSeverancePayHypothesisSolutionFundingPlanPotentialSeverancePay, setSeverancePayHypothesisSolutionFundingPlanYear, setSeverancePayHypothesisSolutionFundingPlanYearEndBalance, setSeverancePayHypothesisSolutionFundingPlanYearEndInterestAmount } from '@fasstech/oip-core/entities/severancePayHypothesisSolutionFundingPlan';
(async () => {
let ProjectEntity = await Entities('Project').get({ id: projectId });
let OfferEntity = await Entities('Offer').create();
let HypothesisEntity = await Entities('Hypothesis').create();
let SeverancePayHypothesisEntity = await Entities('SeverancePayHypothesis').get(HypothesisEntity);
let SeverancePayHypothesisSolutionEntity = await Entities('SeverancePayHypothesisSolution').create();
const SeverancePayHypothesisSolutionFundingPlanEntity = await Entities('SeverancePayHypothesisSolutionFundingPlan').create();
setSeverancePayHypothesisSolutionFundingPlanAnnualDeposit(97, SeverancePayHypothesisSolutionFundingPlanEntity);
setSeverancePayHypothesisSolutionFundingPlanCompanyTaxGains(99, SeverancePayHypothesisSolutionFundingPlanEntity);
setSeverancePayHypothesisSolutionFundingPlanDepartureNumber(100, SeverancePayHypothesisSolutionFundingPlanEntity);
setSeverancePayHypothesisSolutionFundingPlanPotentialSeverancePay(112, SeverancePayHypothesisSolutionFundingPlanEntity);
setSeverancePayHypothesisSolutionFundingPlanYear('year', SeverancePayHypothesisSolutionFundingPlanEntity);
setSeverancePayHypothesisSolutionFundingPlanYearEndBalance(121, SeverancePayHypothesisSolutionFundingPlanEntity);
setSeverancePayHypothesisSolutionFundingPlanYearEndInterestAmount(121, SeverancePayHypothesisSolutionFundingPlanEntity);
SeverancePayHypothesisSolutionEntity = await Entities('SeverancePayHypothesisSolutionFundingPlan').save(SeverancePayHypothesisSolutionEntity, SeverancePayHypothesisSolutionFundingPlanEntity);
SeverancePayHypothesisEntity = await Entities('SeverancePayHypothesisSolution').save(SeverancePayHypothesisEntity, SeverancePayHypothesisSolutionEntity);
HypothesisEntity = await Entities('SeverancePayHypothesis').save(HypothesisEntity, SeverancePayHypothesisEntity);
OfferEntity = await Entities('Hypothesis').save(OfferEntity, HypothesisEntity);
ProjectEntity = await Entities('Offer').save(ProjectEntity, OfferEntity);
await Entities('Project').save(ProjectEntity);
const ProjectEntityToTest = await Entities('Project').get({ id: getProjectId(ProjectEntity) });
const OfferEntityToTest = await Entities('Offer').get(ProjectEntityToTest, getOfferId(OfferEntity));
const HypothesisEntityToTest = await Entities('Hypothesis').get(OfferEntityToTest, getHypothesisId(HypothesisEntity));
const SeverancePayHypothesisEntityToTest = await Entities('SeverancePayHypothesis').get(HypothesisEntityToTest);
const SeverancePayHypothesisSolutionEntityToTest = await Entities('SeverancePayHypothesisSolution').get(SeverancePayHypothesisEntityToTest, getSeverancePayHypothesisSolutionId(SeverancePayHypothesisSolutionEntity));
const SeverancePayHypothesisSolutionFundingPlanEntityToTest = await Entities('SeverancePayHypothesisSolutionFundingPlan').get(SeverancePayHypothesisSolutionEntityToTest, getSeverancePayHypothesisSolutionFundingPlanId(SeverancePayHypothesisSolutionFundingPlanEntity));
getSeverancePayHypothesisSolutionFundingPlanAnnualDeposit(SeverancePayHypothesisSolutionFundingPlanEntityToTest); // 97
getSeverancePayHypothesisSolutionFundingPlanCompanyTaxGains(SeverancePayHypothesisSolutionFundingPlanEntityToTest); // 99
getSeverancePayHypothesisSolutionFundingPlanDepartureNumber(SeverancePayHypothesisSolutionFundingPlanEntityToTest); // 100
getSeverancePayHypothesisSolutionFundingPlanPotentialSeverancePay(SeverancePayHypothesisSolutionFundingPlanEntityToTest); // 112
getSeverancePayHypothesisSolutionFundingPlanYear(SeverancePayHypothesisSolutionFundingPlanEntityToTest); // 'year'
getSeverancePayHypothesisSolutionFundingPlanYearEndBalance(SeverancePayHypothesisSolutionFundingPlanEntityToTest); // 121
getSeverancePayHypothesisSolutionFundingPlanYearEndInterestAmount(SeverancePayHypothesisSolutionFundingPlanEntityToTest); // 121
})();