Skip to content

Instantly share code, notes, and snippets.

@AlBannaTechno
Created September 8, 2021 16:13
Show Gist options
  • Save AlBannaTechno/047bda07f1519b43c28b90c1991f2dce to your computer and use it in GitHub Desktop.
Save AlBannaTechno/047bda07f1519b43c28b90c1991f2dce to your computer and use it in GitHub Desktop.
OU_Message_
// Part Of SmartTech.NGOIPPF.Application
using System;
using System.Collections.Generic;
namespace SmartTech.NGOIPPF.OuHome.DTO
{
public class TenantUnitsMoneyDetailsForUserDto
{
public int UserId { get; set; }
public int TenantId { get; set; }
public double AllUnitsTotalAmount { get; set; }
public double AllUnitsRequiredAmount { get; set; }
public double AllUnitsPaidAmount { get; set; }
public List<UnitForUserMoneyDto> Units { get; set; }
}
public class UnitForUserMoneyDto
{
public int UnitId { get; set; }
public string UnitName { get; set; }
public double TotalAmount { get; set; }
public double RequiredAmount { get; set; }
public double PaidAmount { get; set; }
public List<UnitDatedPaymentsDto> DatedPaymentItems { get; set; }
}
public class UnitDatedPaymentsDto
{
public double TotalAmount { get; set; }
public double RequiredAmount { get; set; }
public double PaidAmount { get; set; }
// Month/Year Based Date
public DateTime DueDate { get; set; }
public List<DuePaymentItemDto> Payments { get; set; }
}
public class DuePaymentItemDto
{
public long PaymentId { get; set; }
public string PaymentName { get; set; }
public double UnitPaidAmount { get; set; }
public double UnitTotalAmount { get; set; }
public double UnitRequiredAmount { get; set; }
public List<PaymentPayDto> PaymentSections { get; set; }
}
public class PaymentPayDto
{
public double PaidAmount { get; set; }
public DateTime DateOfPayment { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment