Table of Contents

Class EmployeeVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("Employee", 20250105)]
[AttTableVOInfo(typeof(EmployeeAttInfo))]
[AttTableProducts(new Products[] { Products.Payroll, Products.WorkPlace })]
[AttTableOrderBy("[Employee].[id]")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.UseImagePicker })]
[AttTableMaintenance(typeof(EmployeeMaintenance))]
public class EmployeeVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
EmployeeVO

Properties

BeneficiaryVO

[AttExternalCollection(typeof(BeneficiaryVO))]
public BeneficiaryVO BeneficiaryVO { get; }

Property Value

BeneficiaryVO

BirthplaceVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Employee].[birthplace]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO BirthplaceVO { get; }

Property Value

AttributeValueVO

CivilStatusVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Employee].[civilstatus]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO CivilStatusVO { get; }

Property Value

AttributeValueVO

ContractVO

[AttExternalCollection(typeof(ContractVO), new string[] { "[Employee].[employeestamp]", "[Contract].[employeestamp]" })]
public ContractVO ContractVO { get; }

Property Value

ContractVO

CountryVO

[AttExternalCollection(typeof(CountryVO), new string[] { "nationalitystamp", "paisesstamp" })]
public CountryVO CountryVO { get; }

Property Value

CountryVO

DeductionsCurrentYear

[AttExternalCollection(typeof(DeductionVO))]
public List<DeductionVO> DeductionsCurrentYear { get; }

Property Value

List<DeductionVO>

DeductionsPreviousYear

[AttExternalCollection(typeof(DeductionVO))]
public List<DeductionVO> DeductionsPreviousYear { get; }

Property Value

List<DeductionVO>

DocidTypeVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Employee].[docidtype]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO DocidTypeVO { get; }

Property Value

AttributeValueVO

ExemptedEarningsCurrentYear

[AttExternalCollection(typeof(EarningVO))]
public List<EarningVO> ExemptedEarningsCurrentYear { get; }

Property Value

List<EarningVO>

ExemptedEarningsPreviousYear

[AttExternalCollection(typeof(EarningVO))]
public List<EarningVO> ExemptedEarningsPreviousYear { get; }

Property Value

List<EarningVO>

GenderVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Employee].[gender]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO GenderVO { get; }

Property Value

AttributeValueVO

NotTaxableEarningsCurrentYear

[AttExternalCollection(typeof(EarningVO))]
public List<EarningVO> NotTaxableEarningsCurrentYear { get; }

Property Value

List<EarningVO>

NotTaxableEarningsPreviousYear

[AttExternalCollection(typeof(EarningVO))]
public List<EarningVO> NotTaxableEarningsPreviousYear { get; }

Property Value

List<EarningVO>

PhysicalDisabilityVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Employee].[physicaldisability]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO PhysicalDisabilityVO { get; }

Property Value

AttributeValueVO

TaxableEarningsCurrentYear

[AttExternalCollection(typeof(EarningVO))]
public List<EarningVO> TaxableEarningsCurrentYear { get; }

Property Value

List<EarningVO>

TaxableEarningsPreviousYear

[AttExternalCollection(typeof(EarningVO))]
public List<EarningVO> TaxableEarningsPreviousYear { get; }

Property Value

List<EarningVO>

UnionizedVO

[AttExternalCollection(typeof(AttributeValueVO), new string[] { "[Employee].[gender]", "[AttributeValue].[attributevaluestamp]" })]
public AttributeValueVO UnionizedVO { get; }

Property Value

AttributeValueVO

address

[AttLenght(55)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string address { get; set; }

Property Value

string

addressplace

[AttLenght(45)]
public string addressplace { get; set; }

Property Value

string

admissionDate

[AttVirtualField]
public DateTime admissionDate { get; set; }

Property Value

DateTime

beneficiaryName

[AttVirtualField]
[AttLenght(400)]
public string beneficiaryName { get; set; }

Property Value

string

beneficiaryStamp

[AttLenght(40)]
[AttEntityAvailable(typeof(BeneficiaryVO))]
public string beneficiaryStamp { get; set; }

Property Value

string

birthdate

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttMandatory]
public DateTime birthdate { get; set; }

Property Value

DateTime

birthplace

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttConfig(44)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_MZ })]
public string birthplace { get; set; }

Property Value

string

birthplacecode

[AttVirtualField(typeof(EmployeeAttInfo))]
[AttLenght(40)]
public string birthplacecode { get; set; }

Property Value

string

birthplacedesc

[AttVirtualField(typeof(EmployeeAttInfo))]
[AttLenght(400)]
public string birthplacedesc { get; set; }

Property Value

string

civilstatus

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

Property Value

string

civilstatuscode

[AttVirtualField(typeof(EmployeeAttInfo))]
[AttLenght(40)]
public string civilstatuscode { get; set; }

Property Value

string

civilstatusdesc

[AttVirtualField(typeof(EmployeeAttInfo))]
[AttLenght(400)]
public string civilstatusdesc { get; set; }

Property Value

string

currentPayslipDate

[AttVirtualField]
public DateTime currentPayslipDate { get; set; }

Property Value

DateTime

deductionsValueCurrentYearTotal

[AttVirtualField]
public decimal deductionsValueCurrentYearTotal { get; set; }

Property Value

decimal

deductionsValuePreviousYearTotal

[AttVirtualField]
public decimal deductionsValuePreviousYearTotal { get; set; }

Property Value

decimal

dependants

[AttLenght(4)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int dependants { get; set; }

Property Value

int

disabledPartner

[AttVirtualField]
public int disabledPartner { get; set; }

Property Value

int

disableddependants

[AttLenght(4)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public int disableddependants { get; set; }

Property Value

int

docidcode

[AttLenght(20)]
[AttMandatory]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string docidcode { get; set; }

Property Value

string

docidissuedate

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime docidissuedate { get; set; }

Property Value

DateTime

docidissueplace

[AttLenght(50)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string docidissueplace { get; set; }

Property Value

string

docidtype

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

Property Value

string

docidtypecode

[AttVirtualField(typeof(EmployeeAttInfo))]
[AttLenght(40)]
public string docidtypecode { get; set; }

Property Value

string

docidtypedesc

[AttVirtualField(typeof(EmployeeAttInfo))]
[AttLenght(400)]
public string docidtypedesc { get; set; }

Property Value

string

docidvaliddate

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime docidvaliddate { get; set; }

Property Value

DateTime

email

[AttLenght(45)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.email)]
public string email { get; set; }

Property Value

string

employeeStatus

[AttVirtualField]
public EmployeeStatus employeeStatus { get; set; }

Property Value

EmployeeStatus

employeeStatusname

[AttLocale(typeof(EmployeeAttInfo))]
public string employeeStatusname { get; set; }

Property Value

string

employeedisabilityforimport

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

Property Value

string

employeeeducationforimport

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

Property Value

string

employeeeducations

[AttCollection(typeof(AttributeHistoryVO))]
public List<AttributeHistoryVO> employeeeducations { get; set; }

Property Value

List<AttributeHistoryVO>

employeestamp

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

Property Value

string

employeetype

[AttLenght(2)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public EmployeeTypes employeetype { get; set; }

Property Value

EmployeeTypes

employeetypedebt

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

Property Value

decimal

exemptedValueCurrentYearTotal

[AttVirtualField]
public decimal exemptedValueCurrentYearTotal { get; set; }

Property Value

decimal

exemptedValuePreviousYearTotal

[AttVirtualField]
public decimal exemptedValuePreviousYearTotal { get; set; }

Property Value

decimal

gender

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

Property Value

string

gendercode

[AttVirtualField(typeof(EmployeeAttInfo))]
[AttLenght(40)]
public string gendercode { get; set; }

Property Value

string

genderdesc

[AttVirtualField(typeof(EmployeeAttInfo))]
[AttLenght(400)]
public string genderdesc { get; set; }

Property Value

string

holders

[AttLenght(2)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(1)]
[AttMaxValue(2)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public int holders { get; set; }

Property Value

int

id

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

Property Value

decimal

image

[AttExternalCollection(typeof(ImageInfoVO), new string[] { "imagestamp", "iflstamp" })]
public ImageInfoVO image { get; }

Property Value

ImageInfoVO

imagestamp

[AttLenght(25)]
[AttForeignKey(typeof(ImageInfoVO), HiddenField = false)]
[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.image)]
public string imagestamp { get; set; }

Property Value

string

inactive

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttHidden]
public bool inactive { get; set; }

Property Value

bool

isforeign

[AttVirtualField]
public bool isforeign { get; set; }

Property Value

bool

lastcontractcode

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.integer)]
public decimal lastcontractcode { get; set; }

Property Value

decimal

multiplicativefactor

[AttLenght(6, 2)]
[AttFieldType(AttFieldType.InputTypes.decimal)]
[AttMinValue(0)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
public decimal multiplicativefactor { get; set; }

Property Value

decimal

name

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

Property Value

string

nationality

[AttLenght(70)]
public string nationality { get; set; }

Property Value

string

nationalitystamp

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

Property Value

string

niss

[AttLenght(11)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.pt_MZ })]
[AttMandatory(new languages[] { languages.pt_PT, languages.pt_MZ })]
public string niss { get; set; }

Property Value

string

notTaxableValueCurrentYearTotal

[AttVirtualField]
public decimal notTaxableValueCurrentYearTotal { get; set; }

Property Value

decimal

notTaxableValuePreviousYearTotal

[AttVirtualField]
public decimal notTaxableValuePreviousYearTotal { get; set; }

Property Value

decimal

obs

[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }

Property Value

string

password

[AttLenght(30)]
[AttFieldType(AttFieldType.InputTypes.password, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange, AttFieldType.FieldFlags.NotEditLoop })]
public string password { get; set; }

Property Value

string

phonenumber

[AttLenght(60)]
[AttRGPDrank(RGPDranks.Personal)]
public string phonenumber { get; set; }

Property Value

string

physicaldisabilities

[AttCollection(typeof(AttributeHistoryVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_MZ })]
public List<AttributeHistoryVO> physicaldisabilities { get; set; }

Property Value

List<AttributeHistoryVO>

physicaldisability

[AttVirtualField]
public string physicaldisability { get; set; }

Property Value

string

physicaldisabilitycode

[AttVirtualField]
[AttLenght(40)]
public string physicaldisabilitycode { get; set; }

Property Value

string

physicaldisabilitydesc

[AttVirtualField]
[AttLenght(200)]
public string physicaldisabilitydesc { get; set; }

Property Value

string

postalcode

[AttLenght(45)]
public string postalcode { get; set; }

Property Value

string

rentalAgreement

[AttVirtualField]
public int rentalAgreement { get; set; }

Property Value

int

taxableValueCurrentYearTotal

[AttVirtualField]
public decimal taxableValueCurrentYearTotal { get; set; }

Property Value

decimal

taxableValuePreviousYearTotal

[AttVirtualField]
public decimal taxableValuePreviousYearTotal { get; set; }

Property Value

decimal

taxtypecode

Tax type for mapping accounts variables

[AttVirtualField]
[AttLenght(1)]
public int taxtypecode { get; }

Property Value

int

tributarysituation

Campo dummy para aparecer na combo dos filtros das taxas de dedução

[AttVirtualField(typeof(EmployeeAttInfo))]
[AttLenght(1)]
public string tributarysituation { get; set; }

Property Value

string

tributarysituations

[AttCollection(typeof(AttributeHistoryVO))]
public List<AttributeHistoryVO> tributarysituations { get; set; }

Property Value

List<AttributeHistoryVO>

unionized

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttMandatory(new languages[] { languages.pt_PT, languages.pt_MZ })]
[AttConfig(40)]
public string unionized { get; set; }

Property Value

string

unionizedcode

[AttVirtualField(typeof(EmployeeAttInfo))]
[AttLenght(40)]
public string unionizedcode { get; set; }

Property Value

string

unionizeddesc

[AttVirtualField(typeof(EmployeeAttInfo))]
[AttLenght(400)]
public string unionizeddesc { get; set; }

Property Value

string

vatid

[AttLenght(20)]
[AttLogInfo(3)]
[AttRGPDrank(RGPDranks.Personal)]
[AttList]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string vatid { get; set; }

Property Value

string