Interface IHolidayCalendar
The system entity for a holidays against a domicile
Inherited Members
Namespace: LemonEdge.API.Entities.FinancialServices.LegalEntity
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.HolidayCalendar, "dbo.LT_HolidayCalendars", "HolidayCalendar", IsStandingDataEntity = true)]
[DefaultEntityIcon(ImageType.Holiday)]
public interface IHolidayCalendar : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
Description
A user friendly description of this holiday - optional
Declaration
[EntityProperty(SQLType.NVarChar, 2000, true)]
[EntityDescription("A user friendly description of this holiday - optional.")]
string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
DomicileID
[Key] Links to IDomicile. The domicile this holiday belongs to.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Domicile, "ID", SingleJoinType.One, "Domicile", "Holiday Calendar", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[EntityKeyProperty]
[EntityDescription("The domicile this holiday belongs to.")]
Guid DomicileID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
HolidayDate
The date of this holiday
Declaration
[EntityProperty(SQLType.DateTimeOffset, false, IsDate = true)]
[EntityDescription("The date of this holiday.")]
DateTimeOffset HolidayDate { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
Name
The user friendly name of this holiday - optional
Declaration
[EntityProperty(SQLType.NVarChar, 500, true)]
[EntityDescription("The user friendly name of this holiday - optional")]
string Name { get; set; }
Property Value
Type | Description |
---|---|
string |