using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MaintenanceDAL.DTO.Claim { public class ClaimDetailDTO { #region PrivateMembers #region Claim private int claimdetailid; //Id private Int16 claimdetailslno; //SlNo private DateTime claimdetailclaimdetaildate; //ClaimDetailDate private double claimdetailquantity; //Quantity private double claimdetailrate; //Rate private double claimdetailconversionrate; //ConversionRate private double claimdetailamount; //Amount private double claimdetaileligibleamount; //EligibleAmount private double claimdetailbillamount; //BillAmount private string claimdetailbillreference = ""; //BillReference private double claimdetailclaimamount; //ClaimAmount private double claimdetailapprovedamount; //ApprovedAmount private string claimdetailremarks = ""; //Remarks private double claimdetaildistance; //Distance private int claimid; //ClaimId #region ClaimHead private int claimheadid; private string claimheadcode; private string claimheadname; //ClaimHead private int claimheadexpenseaccountid; #endregion #region ExpenseAccount private int expenseaccountid = -1; private string expenseaccountcode; private string expenseaccountname; #endregion #region CreditAccount private int creditaccountid = -1; private string creditaccountcode; private string creditaccountname; #endregion #region UOM private int uomid = -1; private string uomcode; private string uomname; #endregion #region Currency private int currencyid = -1; private string currencycode; private string currencyname; #endregion #region FromCity private int fromcityid = -1; private string fromcitycode; private string fromcityname; #endregion #region ToCity private int tocityid = -1; private string tocitycode; private string tocityname; #endregion #region FromLocation private int fromlocationid = -1; private string fromlocationcode; private string fromlocationname; #endregion #region ToLocation private int tolocationid = -1; private string tolocationcode; private string tolocationname; #endregion private int modeid = -1; private string modecode = "NONE"; private string modename = "NONE"; #endregion private int mmdetailid = -1; private int employeeid = -1; private string employeecode; private string employeename; #region PublicMembers #region Claim public int ClaimDetailId { get { return claimdetailid; } //Id set { claimdetailid = value; } //Id } #region Claim public int ClaimId { get { return claimid; } //ClaimId set { claimid = value; } //ClaimId } #endregion public int ClaimHeadId { get { return claimheadid; } //Id set { claimheadid = value; } //Id } public string ClaimHeadCode { get { return claimheadcode; } //Code set { claimheadcode = value; } //Code } public string ClaimHeadName { get { return claimheadname; } //Name set { claimheadname = value; } //Name } public int ClaimHeadExpenseAccountId { get { return claimheadexpenseaccountid; } //Name set { claimheadexpenseaccountid = value; } //Name } public int ExpenseAccountId { get { return expenseaccountid; } //Id set { expenseaccountid = value; } //Id } public string ExpenseAccountCode { get { return expenseaccountcode; } //Code set { expenseaccountcode = value; } //Code } public string ExpenseAccountName { get { return expenseaccountname; } //Name set { expenseaccountname = value; } //Name } public int CreditAccountId { get { return creditaccountid; } //Id set { creditaccountid = value; } //Id } public string CreditAccountCode { get { return creditaccountcode; } //Code set { creditaccountcode = value; } //Code } public string CreditAccountName { get { return creditaccountname; } //Name set { creditaccountname = value; } //Name } #region UOM public int UOMId { get { return uomid; } set { uomid = value; } } public string UOMCode { get { return uomcode; } set { uomcode = value; } } public string UOMName { get { return uomname; } set { uomname = value; } } #endregion #region Currency public int CurrencyId { get { return currencyid; } set { currencyid = value; } } public string CurrencyCode { get { return currencycode; } set { currencycode = value; } } public string CurrencyName { get { return currencyname; } set { currencyname = value; } } #endregion public Int16 ClaimDetailSlNo { get { return claimdetailslno; } //SlNo set { claimdetailslno = value; } //SlNo } public DateTime ClaimDetailClaimDetailDate { get { return claimdetailclaimdetaildate; } //ClaimDetailDate set { claimdetailclaimdetaildate = value; } //ClaimDetailDate } public double ClaimDetailQuantity { get { return claimdetailquantity; } //Quantity set { claimdetailquantity = value; } //Quantity } public double ClaimDetailRate { get { return claimdetailrate; } //Rate set { claimdetailrate = value; } //Rate } public double ClaimDetailConversionRate { get { return claimdetailconversionrate; } //ConversionRate set { claimdetailconversionrate = value; } //ConversionRate } public double ClaimDetailAmount { get { return claimdetailamount; } //Amount set { claimdetailamount = value; } //Amount } public double ClaimDetailEligibleAmount { get { return claimdetaileligibleamount; } //EligibleAmount set { claimdetaileligibleamount = value; } //EligibleAmount } public double ClaimDetailBillAmount { get { return claimdetailbillamount; } //BillAmount set { claimdetailbillamount = value; } //BillAmount } public string ClaimDetailBillReference { get { return claimdetailbillreference; } //BillReference set { claimdetailbillreference = value; } //BillReference } public double ClaimDetailClaimAmount { get { return claimdetailclaimamount; } //ClaimAmount set { claimdetailclaimamount = value; } //ClaimAmount } public double ClaimDetailApprovedAmount { get { return claimdetailapprovedamount; } //ApprovedAmount set { claimdetailapprovedamount = value; } //ApprovedAmount } public string ClaimDetailRemarks { get { return claimdetailremarks; } //Remarks set { claimdetailremarks = value; } //Remarks } public double ClaimDetailDistance { get { return claimdetaildistance; } //Distance set { claimdetaildistance = value; } //Distance } public int FromCityId { get { return fromcityid; } //FromCity set { fromcityid = value; } //FromCity } public string FromCityCode { get { return fromcitycode; } //Code set { fromcitycode = value; } //Code } public string FromCityName { get { return fromcityname; } //Name set { fromcityname = value; } //Name } public int ToCityId { get { return tocityid; } //ToCity set { tocityid = value; } //ToCity } public string ToCityCode { get { return tocitycode; } //Code set { tocitycode = value; } //Code } public string ToCityName { get { return tocityname; } //Name set { tocityname = value; } //Name } public int FromLocationId { get { return fromlocationid; } //FromLocation set { fromlocationid = value; } //FromLocatio } public string FromLocationCode { get { return fromlocationcode; } //Code set { fromlocationcode = value; } //Code } public string FromLocationName { get { return fromlocationname; } //Name set { fromlocationname = value; } //Name } public int ToLocationId { get { return tolocationid; } //ToLocation set { tolocationid = value; } //ToLocation } public string ToLocationCode { get { return tolocationcode; } //Code set { tolocationcode = value; } //Code } public string ToLocationName { get { return tolocationname; } //Name set { tolocationname = value; } //Name } public int ModeId { get { return modeid; } set { modeid = value; } } public string ModeCode { get { return modecode; } set { modecode = value; } } public string ModeName { get { return modename; } set { modename = value; } } public int MMDetailId { get { return mmdetailid; } //mmdetail set { mmdetailid = value; } //mmdetail } public int EmployeeId { get { return employeeid; } //mmdetail set { employeeid = value; } //mmdetail } public string EmployeeCode { get { return employeecode; } //mmdetail set { employeecode = value; } //mmdetail } public string EmployeeName { get { return employeename; } //mmdetail set { employeename = value; } //mmdetail } private byte claimdetailrecoverytype = 1; private double claimdetailrecoverypercentage; private double claimdetailrecoveryvalue; public byte ClaimDetailRecoveryType { get { return claimdetailrecoverytype; } //RecoveryType set { claimdetailrecoverytype = value; } //RecoveryType } public double ClaimDetailRecoveryPercentage { get { return claimdetailrecoverypercentage; } //RecoveryPercentage set { claimdetailrecoverypercentage = value; } //RecoveryPercentage } public double ClaimDetailRecoveryValue { get { return claimdetailrecoveryvalue; } //RecoveryValue set { claimdetailrecoveryvalue = value; } //RecoveryValue } private int temppartyid = -1; private int tempreferencedocumentdetailid = -1; public int TempPartyId { get { return temppartyid; } //temppartyid set { temppartyid = value; } //temppartyid } public int TempReferenceDocumentDetailId { get { return tempreferencedocumentdetailid; } //tempreferencedocumentdetailid set { tempreferencedocumentdetailid = value; } //tempreferencedocumentdetailid } #endregion #endregion #endregion } }