Table of Contents

Class ContractVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("Contract", 20241005)]
[AttTableVOInfo(typeof(ContractAttInfo))]
[AttTableProducts(new Products[] { Products.Payroll, Products.WorkPlace })]
[AttTableOrderBy("[Contract].[code]")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.UseDimensions })]
[AttTableMaintenance(typeof(ContractMaintenance))]
public class ContractVO : EstablishmentVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
ContractVO

Properties

ContractTypeVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[contractTypestamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO ContractTypeVO { get; }

Property Value

AttributeValueVO

DaysOfNoticeCompanyVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[daysOfNoticeCompanystamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO DaysOfNoticeCompanyVO { get; }

Property Value

AttributeValueVO

DaysOfNoticeEmployeeVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[daysOfNoticeEmployeestamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO DaysOfNoticeEmployeeVO { get; }

Property Value

AttributeValueVO

EmployeeVO

[AttExternalCollection(typeof(EmployeeVO), new string[] { "[Employee].[id]", "[Contract].[employeeid]" })]
public EmployeeVO EmployeeVO { get; }

Property Value

EmployeeVO

EntryReasonVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[entryReasonstamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO EntryReasonVO { get; }

Property Value

AttributeValueVO

InsuranceVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[insurancestamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO InsuranceVO { get; }

Property Value

AttributeValueVO

IrctApplicabilityVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[irctApplicabilitystamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO IrctApplicabilityVO { get; }

Property Value

AttributeValueVO

IrctVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[irctstamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO IrctVO { get; }

Property Value

AttributeValueVO

LeavingMotiveVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[leavingMotivestamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO LeavingMotiveVO { get; }

Property Value

AttributeValueVO

OccupationVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[occupationstamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO OccupationVO { get; }

Property Value

AttributeValueVO

OriginContractVO

[AttExternalCollection(typeof(ContractVO), new string[] { "[Contract].[origincontractcode]", "[Contract].[code]" })]
public ContractVO OriginContractVO { get; }

Property Value

ContractVO

ProfessionSSVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[occupationstamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO ProfessionSSVO { get; }

Property Value

AttributeValueVO

ProfessionVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[Professionstamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO ProfessionVO { get; }

Property Value

AttributeValueVO

ProfessionalCategoriesVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[ProfessionalCategoriesstamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO ProfessionalCategoriesVO { get; }

Property Value

AttributeValueVO

ProfessionalSituationVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[professionalSituationstamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO ProfessionalSituationVO { get; }

Property Value

AttributeValueVO

QualificationLevelVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[qualificationLevelstamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO QualificationLevelVO { get; }

Property Value

AttributeValueVO

RegionTaxCode

[AttVirtualField(typeof(ContractAttInfo))]
public string RegionTaxCode { get; set; }

Property Value

string

RegionTaxDescription

[AttVirtualField(typeof(ContractAttInfo))]
public string RegionTaxDescription { get; set; }

Property Value

string

RegionTaxVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[regiontaxstamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO RegionTaxVO { get; }

Property Value

AttributeValueVO

WorkDurationVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[workDurationstamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO WorkDurationVO { get; }

Property Value

AttributeValueVO

WorkingTimeOrganizationVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[workingTimeOrganizationstamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO WorkingTimeOrganizationVO { get; }

Property Value

AttributeValueVO

WorkingTimeVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Contract].[workingTimestamp]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO WorkingTimeVO { get; }

Property Value

AttributeValueVO

annualearnings

[AttCollection(typeof(AnnualEarningVO))]
public List<AnnualEarningVO> annualearnings { get; set; }

Property Value

List<AnnualEarningVO>

code

[AttLenght(6)]
[AttPrimaryKey]
[AttLogInfo(0)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttMinValue(0)]
[AttList]
public decimal code { get; set; }

Property Value

decimal

contractStatus

[AttVirtualField(typeof(ContractAttInfo))]
[AttInterfaces(new Type[] { typeof(IChange) })]
public ContractStatus contractStatus { get; set; }

Property Value

ContractStatus

contractStatusname

[AttLocale(typeof(ContractAttInfo))]
public string contractStatusname { get; set; }

Property Value

string

contractTypecode

[AttVirtualField(typeof(ContractAttInfo))]
public string contractTypecode { get; set; }

Property Value

string

contractTypedesc

[AttVirtualField(typeof(ContractAttInfo))]
public string contractTypedesc { get; set; }

Property Value

string

contractTypestamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttMandatory]
[AttConfig(2)]
public string contractTypestamp { get; set; }

Property Value

string

contractstamp

[AttLenght(25)]
public string contractstamp { get; set; }

Property Value

string

dailyworkinghours

[AttLenght(5, 2)]
[AttMandatory]
[AttMinValue(0)]
[AttMaxValue(24)]
public decimal dailyworkinghours { get; set; }

Property Value

decimal

dateend

[AttFieldType(AttFieldType.InputTypes.date)]
[AttList]
public DateTime dateend { get; set; }

Property Value

DateTime

dateexit

[AttFieldType(AttFieldType.InputTypes.date)]
[AttList(Hidden = true)]
public DateTime dateexit { get; set; }

Property Value

DateTime

dateini

[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttList]
public DateTime dateini { get; set; }

Property Value

DateTime

daysOfNoticeCompanycode

[AttVirtualField(typeof(ContractAttInfo))]
public string daysOfNoticeCompanycode { get; set; }

Property Value

string

daysOfNoticeCompanydesc

[AttVirtualField(typeof(ContractAttInfo))]
public string daysOfNoticeCompanydesc { get; set; }

Property Value

string

daysOfNoticeCompanystamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttConfig(31)]
public string daysOfNoticeCompanystamp { get; set; }

Property Value

string

daysOfNoticeEmployeecode

[AttVirtualField(typeof(ContractAttInfo))]
public string daysOfNoticeEmployeecode { get; set; }

Property Value

string

daysOfNoticeEmployeedesc

[AttVirtualField(typeof(ContractAttInfo))]
public string daysOfNoticeEmployeedesc { get; set; }

Property Value

string

daysOfNoticeEmployeestamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttConfig(29)]
public string daysOfNoticeEmployeestamp { get; set; }

Property Value

string

employeeid

[AttLenght(6)]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttList]
public decimal employeeid { get; set; }

Property Value

decimal

employeename

[AttLenght(400)]
[AttMandatory]
[AttRGPDrank(RGPDranks.Legal)]
[AttLogInfo(1)]
[AttList]
public string employeename { get; set; }

Property Value

string

employeestamp

[AttLenght(25)]
[AttIndex]
[AttMandatory]
public string employeestamp { get; set; }

Property Value

string

employeetype

[AttLenght(2)]
[AttMandatory]
public EmployeeTypes employeetype { get; set; }

Property Value

EmployeeTypes

employeetypeTypeName

[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string employeetypeTypeName { get; set; }

Property Value

string

employeetypedebt

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_MZ })]
public decimal employeetypedebt { get; set; }

Property Value

decimal

employeevacationtypes

[AttCollection(typeof(EmployeeVacationTypeVO))]
public List<EmployeeVacationTypeVO> employeevacationtypes { get; set; }

Property Value

List<EmployeeVacationTypeVO>

entryReasoncode

[AttVirtualField(typeof(ContractAttInfo))]
public string entryReasoncode { get; set; }

Property Value

string

entryReasondesc

[AttVirtualField(typeof(ContractAttInfo))]
public string entryReasondesc { get; set; }

Property Value

string

entryReasonstamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttMandatory(new languages[] { languages.pt_PT })]
[AttConfig(4)]
public string entryReasonstamp { get; set; }

Property Value

string

existchangeorrenewal

[AttVirtualField(typeof(ContractAttInfo))]
public bool existchangeorrenewal { get; set; }

Property Value

bool

existpayslip

[AttVirtualField(typeof(ContractAttInfo))]
public bool existpayslip { get; set; }

Property Value

bool

hasactiveexitforecast

[AttVirtualField(typeof(ContractAttInfo))]
public bool hasactiveexitforecast { get; set; }

Property Value

bool

hourlywage

[AttVirtualField(typeof(ContractAttInfo))]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal hourlywage { get; set; }

Property Value

decimal

insurancecode

[AttVirtualField(typeof(ContractAttInfo))]
[AttLenght(40)]
public string insurancecode { get; set; }

Property Value

string

insurancedesc

[AttVirtualField(typeof(ContractAttInfo))]
[AttLenght(400)]
public string insurancedesc { get; set; }

Property Value

string

insurancestamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttConfig(41)]
public string insurancestamp { get; set; }

Property Value

string

irctApplicabilitycode

[AttVirtualField(typeof(ContractAttInfo))]
public string irctApplicabilitycode { get; set; }

Property Value

string

irctApplicabilitydesc

[AttVirtualField(typeof(ContractAttInfo))]
public string irctApplicabilitydesc { get; set; }

Property Value

string

irctApplicabilitystamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttMandatory(new languages[] { languages.pt_PT })]
[AttConfig(14)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string irctApplicabilitystamp { get; set; }

Property Value

string

irctcode

[AttVirtualField(typeof(ContractAttInfo))]
public string irctcode { get; set; }

Property Value

string

irctdesc

[AttVirtualField(typeof(ContractAttInfo))]
public string irctdesc { get; set; }

Property Value

string

irctstamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttMandatory(new languages[] { languages.pt_PT })]
[AttConfig(13)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string irctstamp { get; set; }

Property Value

string

leavingMotivecode

[AttVirtualField(typeof(ContractAttInfo))]
public string leavingMotivecode { get; set; }

Property Value

string

leavingMotivedesc

[AttVirtualField(typeof(ContractAttInfo))]
public string leavingMotivedesc { get; set; }

Property Value

string

leavingMotivestamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttConfig(3)]
public string leavingMotivestamp { get; set; }

Property Value

string

occupationcode

[AttVirtualField(typeof(ContractAttInfo))]
public string occupationcode { get; set; }

Property Value

string

occupationdesc

[AttVirtualField(typeof(ContractAttInfo))]
public string occupationdesc { get; set; }

Property Value

string

occupationstamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttConfig(37)]
public string occupationstamp { get; set; }

Property Value

string

origincontractcode

[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttMinValue(0)]
public decimal origincontractcode { get; set; }

Property Value

decimal

paymentmethods

[AttCollection(typeof(PaymentMethodVO))]
public List<PaymentMethodVO> paymentmethods { get; set; }

Property Value

List<PaymentMethodVO>

policy

[AttLenght(20)]
public string policy { get; set; }

Property Value

string

professionalCategoriescode

[AttVirtualField(typeof(ContractAttInfo))]
public string professionalCategoriescode { get; set; }

Property Value

string

professionalCategoriesdesc

[AttVirtualField(typeof(ContractAttInfo))]
public string professionalCategoriesdesc { get; set; }

Property Value

string

professionalCategoriesstamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttMandatory]
[AttConfig(12)]
public string professionalCategoriesstamp { get; set; }

Property Value

string

professionalSituationcode

[AttVirtualField(typeof(ContractAttInfo))]
public string professionalSituationcode { get; set; }

Property Value

string

professionalSituationdesc

[AttVirtualField(typeof(ContractAttInfo))]
public string professionalSituationdesc { get; set; }

Property Value

string

professionalSituationstamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttMandatory]
[AttConfig(11)]
public string professionalSituationstamp { get; set; }

Property Value

string

professioncode

[AttVirtualField(typeof(ContractAttInfo))]
public string professioncode { get; set; }

Property Value

string

professiondesc

[AttVirtualField(typeof(ContractAttInfo))]
public string professiondesc { get; set; }

Property Value

string

professionsscode

[AttVirtualField(typeof(ContractAttInfo))]
public string professionsscode { get; set; }

Property Value

string

professionssdesc

[AttVirtualField(typeof(ContractAttInfo))]
public string professionssdesc { get; set; }

Property Value

string

professionssstamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttMandatory]
[AttConfig(36)]
public string professionssstamp { get; set; }

Property Value

string

professionstamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttMandatory]
[AttConfig(8)]
public string professionstamp { get; set; }

Property Value

string

qualificationLevelcode

[AttVirtualField(typeof(ContractAttInfo))]
public string qualificationLevelcode { get; set; }

Property Value

string

qualificationLeveldesc

[AttVirtualField(typeof(ContractAttInfo))]
public string qualificationLeveldesc { get; set; }

Property Value

string

qualificationLevelstamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttMandatory(new languages[] { languages.pt_PT })]
[AttConfig(19)]
public string qualificationLevelstamp { get; set; }

Property Value

string

regiontaxstamp

[AttLenght(25)]
[AttMandatory(new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttConfig(38)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public string regiontaxstamp { get; set; }

Property Value

string

regulardeductions

[AttCollection(typeof(RegularDeductionVO))]
public List<RegularDeductionVO> regulardeductions { get; set; }

Property Value

List<RegularDeductionVO>

regularearnings

[AttCollection(typeof(RegularEarningVO))]
public List<RegularEarningVO> regularearnings { get; set; }

Property Value

List<RegularEarningVO>

renewal

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool renewal { get; set; }

Property Value

bool

weeklyworkinghours

Horas semanais

[AttLenght(6, 2)]
[AttMandatory]
public decimal weeklyworkinghours { get; set; }

Property Value

decimal

workDurationcode

[AttVirtualField(typeof(ContractAttInfo))]
public string workDurationcode { get; set; }

Property Value

string

workDurationdesc

[AttVirtualField(typeof(ContractAttInfo))]
public string workDurationdesc { get; set; }

Property Value

string

workDurationstamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttMandatory]
public string workDurationstamp { get; set; }

Property Value

string

workingTimeOrganizationcode

[AttVirtualField(typeof(ContractAttInfo))]
public string workingTimeOrganizationcode { get; set; }

Property Value

string

workingTimeOrganizationdesc

[AttVirtualField(typeof(ContractAttInfo))]
public string workingTimeOrganizationdesc { get; set; }

Property Value

string

workingTimeOrganizationstamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttMandatory]
[AttConfig(18)]
public string workingTimeOrganizationstamp { get; set; }

Property Value

string

workingTimecode

[AttVirtualField(typeof(ContractAttInfo))]
public string workingTimecode { get; set; }

Property Value

string

workingTimedesc

[AttVirtualField(typeof(ContractAttInfo))]
public string workingTimedesc { get; set; }

Property Value

string

workingTimestamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttMandatory(new languages[] { languages.pt_PT })]
[AttConfig(17)]
public string workingTimestamp { get; set; }

Property Value

string