Interface ICollateralItem
The system entity for collateral items
Inherited Members
Namespace: LemonEdge.API.Entities.FinancialServices.Products
Assembly: LemonEdge.API.Entities.FinancialServices.dll
Syntax
[EntityDefinition(EntityID.CollateralItem, "dbo.LT_CollateralItems", "CollateralItem", IsStandingDataEntity = false, CustomToString = true)]
[DefaultEntityIcon(ImageType.Collateral)]
public interface ICollateralItem : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
CollateralTypeID
[Key] Links to ICollateralType. The type this collateral is under.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.CollateralType, "ID", SingleJoinType.One, "Collateral Type", "Collateral", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = false)]
[EntityKeyProperty]
[EntityDescription("The type this collateral is under.")]
Guid CollateralTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Description
A detailed description of the collateral
Declaration
[EntityProperty(SQLType.NVarChar, true)]
[EntityDescription("A detailed description of the collateral")]
string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
InstrumentID
[Key] Links to IInstrument. The instrument this collateral is linked to.
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityRelationship(EntityID.Instrument, "ID", SingleJoinType.One, "Instrument", "Collateral", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false, InheritPermissions = true)]
[EntityKeyProperty]
[EntityDescription("The instrument this collateral is linked to.")]
Guid InstrumentID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Name
The brief details of the collateral
Declaration
[EntityProperty(SQLType.NVarChar, 500, false)]
[EntityDescription("The brief details of the collateral.")]
string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Value
Estimated value of the collateral
Declaration
[EntityProperty(SQLType.Decimal, 21, 3, false)]
[EntityDescription("Estimated value of the collateral")]
decimal Value { get; set; }
Property Value
Type | Description |
---|---|
decimal |