Taylohtio/IDP/parsers/parser-management-fee/common/model/MaintenanceFee.cs

64 lines
1.8 KiB
C#

using System;
using System.ComponentModel.DataAnnotations.Schema;
using taloyhtio.idp.parser.common.domain;
namespace taloyhtio.idp.parser.common.model
{
[Table("mdbMaintenanceFees")]
public class MaintenanceFee : Entity, IAggregateRoot
{
public MaintenanceFee() { }
public MaintenanceFee(Guid id)
{
Id = id;
}
/// <summary>
/// Condo name as it is stored in PMS.
/// Note: condo name in PMS may differ from condo name in Taloyhtio.Info.PM should approve relation between condos in PMS and Taloyhtio.Info separately(see 6. Mapping PMS condo on Taloyhtio.Info condo)
/// </summary>
public string PMSCondoName { get; set; }
/// <summary>
/// A1, B2, etc.
/// </summary>
public string FlatTitle { get; set; }
/// <summary>
/// Flat identifier from mdbFlats table
/// </summary>
public Guid FlatId { get; set; }
/// <summary>
/// Maintenance fee for particular flat
/// </summary>
public double Fee { get; set; }
/// <summary>
/// Those period of time for which specified maintenance fee is provided
/// </summary>
public string PeriodOfTime { get; set; }
/// <summary>
/// Taloyhtio PMC Id of condo to which current flat belongs to
/// </summary>
public Guid PMCTaloyhtioId { get; set; }
/// <summary>
/// Payment type name
/// </summary>
public string PaymentType { get; set; }
/// <summary>
/// Three-digit payment type code (non-equal for different condo sites)
/// </summary>
public string PaymentCode { get; set; }
/// <summary>
/// Person
/// </summary>
public string Payer { get; set; }
}
}