29 lines
989 B
C#
29 lines
989 B
C#
using System;
|
|
using _0_Framework.Application;
|
|
|
|
namespace Company.Domain.InstitutionContractAgg;
|
|
|
|
public class InstitutionContractInstallment
|
|
{
|
|
public InstitutionContractInstallment(DateTime installmentDateGr, double amount,
|
|
string description)
|
|
{
|
|
InstallmentDateGr = installmentDateGr;
|
|
InstallmentDateFa = installmentDateGr.ToFarsi();
|
|
Amount = amount;
|
|
Description = description;
|
|
}
|
|
|
|
public long Id { get; private set; }
|
|
public DateTime InstallmentDateGr { get; private set; }
|
|
public string InstallmentDateFa { get; private set; }
|
|
public double Amount { get; private set; }
|
|
public string Description { get; private set; }
|
|
|
|
public long InstitutionContractId { get; private set; }
|
|
public long? InstitutionContractAmendmentId { get; private set; }
|
|
|
|
public InstitutionContract InstitutionContract { get; private set; }
|
|
public InstitutionContractAmendment InstitutionContractAmendment { get; set; }
|
|
}
|