Table of Contents

Class HolidayVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Holiday

[AttTable("Holiday", 20200117)]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.CanUpdFromSourceBD })]
[AttTableVOInfo(typeof(HolidayAttInfo))]
public class HolidayVO : EstablishmentVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
HolidayVO

Properties

category

Indica se é um feriado "Normal", "Financeiro" ou "Normal e Financeiro".

[AttList(Inactive = true)]
public HolidayCategory category { get; set; }

Property Value

HolidayCategory

codpais

Represents the code for a Country

[AttLenght(4)]
public string codpais { get; set; }

Property Value

string

description

Description of the holiday

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

Property Value

string

estabonly

public bool estabonly { get; set; }

Property Value

bool

happensOn

Date when the holiday happens

[AttMandatory]
[AttLogInfo(1)]
[AttList]
public DateTime happensOn { get; set; }

Property Value

DateTime

holidaystamp

ID, used to link others to this entity.

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

Property Value

string

Remarks

This field uniquely identifies the record.

isFixed

If the holiday happens on the same day every year

[AttLogInfo(2)]
[AttList]
public bool isFixed { get; set; }

Property Value

bool

isreadonly

If the holiday is "readonly" (i.e. was created by PHC)

[AttPhcOwner]
public bool isreadonly { get; set; }

Property Value

bool

Remarks

This field is for PHC internal use only.

name

Name of the holiday

[AttLenght(50)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string name { get; set; }

Property Value

string

pais

Represents a Country

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

Property Value

string

paisesstamp

Connection field for entity Countries

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(CountryVO))]
[AttLenght(25)]
public string paisesstamp { get; set; }

Property Value

string