using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.Voucher { public class VoucherTDSDTO { #region PrivateMembers #region Voucher private int vouchertdsid; //Id #region VoucherDetail private int voucherlineid = -1; //Id #endregion private Int16 vouchertdstdsslno; //TdsSlNo private byte vouchertdstdsnature; //TDSNature private byte vouchertdstdstype; //TDSType #region Account private int accountid = -1; //Id private string accountcode; //Code private string accountname; //Name #endregion private string vouchertdsreferencenumber; //ReferenceNumber private DateTime vouchertdsreferencedate; //ReferenceDate private DateTime vouchertdscreditdate = DateTime.Now; //CreditDate private string vouchertdsparticulars; //Particulars private double vouchertdsamount; //Amount #region TDSCategory private int tdscategoryid = -1; //Id private string tdscategorycode; //Code private string tdscategoryname; //Name #endregion private string vouchertdssection; //Section private string vouchertdsreferencesection; //ReferenceSection private double vouchertdstdspercent; //TDSPercent private double vouchertdstdsamount; //TDSAmount private double vouchertdsscpercent; //ScPercent private double vouchertdsscamount; //ScAmount private double vouchertdscesspercent; //CessPercent private double vouchertdscessamount; //CessAmount private double vouchertdsinterestamount; //InterestAmount private double vouchertdspenaltyamount; //PenaltyAmount private double vouchertdsotheramount; //OtherAmount private double vouchertdstotalamount; //TotalAmount private double vouchertdsroundedamount; //RoundedAmount private byte vouchertdstypeofdeduction; //TypeOfDeduction private byte vouchertdslessdeductiontype; //LessDeductionType private string vouchertdslessdeductionreason; //LessDeductionReason private byte vouchertdstdsstatus; //TDSStatus #region VoucherTDS private int allotedvoucherlineid = -1; #endregion private double vouchertdspaidtdsamount; //PaidTDSAmount private double vouchertdspaidscamount; //PaidScAmount private double vouchertdspaidcessamount; //PaidCessAmount private string vouchertdscertificatenumber; //CertificateNumber private DateTime vouchertdscertificatedate = DateTime.Now; //CertificateDate private string vouchertdsremarks; //Remarks private DateTime vouchertdsmodifiedon = DateTime.Now; //ModifiedOn #endregion #endregion #region PublicMembers #region Voucher public int VoucherTDSId { get { return vouchertdsid; } //Id set { vouchertdsid = value; } } #region VoucherDetail public int VoucherLineId { get { return voucherlineid; } //Id set { voucherlineid = value; } //Id } #endregion public Int16 VoucherTDSTdsSlNo { get { return vouchertdstdsslno; } //TdsSlNo set { vouchertdstdsslno = value; } } public byte VoucherTDSTDSNature { get { return vouchertdstdsnature; } //TDSNature set { vouchertdstdsnature = value; } } public byte VoucherTDSTDSType { get { return vouchertdstdstype; } //TDSType set { vouchertdstdstype = value; } } #region Account public int AccountId { get { return accountid; } //Id set { accountid = value; } //Id } public string AccountCode { get { return accountcode; } //Code set { accountcode = value; } //Code } public string AccountName { get { return accountname; } //Name set { accountname = value; } //Name } #endregion public string VoucherTDSReferenceNumber { get { return vouchertdsreferencenumber; } //ReferenceNumber set { vouchertdsreferencenumber = value; } } public DateTime VoucherTDSReferenceDate { get { return vouchertdsreferencedate; } //ReferenceDate set { vouchertdsreferencedate = value; } } public DateTime VoucherTDSCreditDate { get { return vouchertdscreditdate; } //CreditDate set { vouchertdscreditdate = value; } } public string VoucherTDSParticulars { get { return vouchertdsparticulars; } //Particulars set { vouchertdsparticulars = value; } } public double VoucherTDSAmount { get { return vouchertdsamount; } //Amount set { vouchertdsamount = value; } } #region TDSCategory public int TDSCategoryId { get { return tdscategoryid; } //Id set { tdscategoryid = value; } //Id } public string TDSCategoryCode { get { return tdscategorycode; } //Code set { tdscategorycode = value; } //Code } public string TDSCategoryName { get { return tdscategoryname; } //Name set { tdscategoryname = value; } //Name } #endregion public string VoucherTDSSection { get { return vouchertdssection; } //Section set { vouchertdssection = value; } } public string VoucherTDSReferenceSection { get { return vouchertdsreferencesection; } //ReferenceSection set { vouchertdsreferencesection = value; } } public double VoucherTDSTDSPercent { get { return vouchertdstdspercent; } //TDSPercent set { vouchertdstdspercent = value; } } public double VoucherTDSTDSAmount { get { return vouchertdstdsamount; } //TDSAmount set { vouchertdstdsamount = value; } } public double VoucherTDSScPercent { get { return vouchertdsscpercent; } //ScPercent set { vouchertdsscpercent = value; } } public double VoucherTDSScAmount { get { return vouchertdsscamount; } //ScAmount set { vouchertdsscamount = value; } } public double VoucherTDSCessPercent { get { return vouchertdscesspercent; } //CessPercent set { vouchertdscesspercent = value; } } public double VoucherTDSCessAmount { get { return vouchertdscessamount; } //CessAmount set { vouchertdscessamount = value; } } public double VoucherTDSInterestAmount { get { return vouchertdsinterestamount; } //InterestAmount set { vouchertdsinterestamount = value; } } public double VoucherTDSPenaltyAmount { get { return vouchertdspenaltyamount; } //PenaltyAmount set { vouchertdspenaltyamount = value; } } public double VoucherTDSOtherAmount { get { return vouchertdsotheramount; } //OtherAmount set { vouchertdsotheramount = value; } } public double VoucherTDSTotalAmount { get { return vouchertdstotalamount; } //TotalAmount set { vouchertdstotalamount = value; } } public double VoucherTDSRoundedAmount { get { return vouchertdsroundedamount; } //RoundedAmount set { vouchertdsroundedamount = value; } } public byte VoucherTDSTypeOfDeduction { get { return vouchertdstypeofdeduction; } //TypeOfDeduction set { vouchertdstypeofdeduction = value; } } public byte VoucherTDSLessDeductionType { get { return vouchertdslessdeductiontype; } //LessDeductionType set { vouchertdslessdeductiontype = value; } } public string VoucherTDSLessDeductionReason { get { return vouchertdslessdeductionreason; } //LessDeductionReason set { vouchertdslessdeductionreason = value; } } public byte VoucherTDSTDSStatus { get { return vouchertdstdsstatus; } //TDSStatus set { vouchertdstdsstatus = value; } } #region VoucherTDS public int AllotedVoucherLineId { get { return allotedvoucherlineid; } //AllotedVoucherLineId set { allotedvoucherlineid = value; } } #endregion public double VoucherTDSPaidTDSAmount { get { return vouchertdspaidtdsamount; } //PaidTDSAmount set { vouchertdspaidtdsamount = value; } } public double VoucherTDSPaidScAmount { get { return vouchertdspaidscamount; } //PaidScAmount set { vouchertdspaidscamount = value; } } public double VoucherTDSPaidCessAmount { get { return vouchertdspaidcessamount; } //PaidCessAmount set { vouchertdspaidcessamount = value; } } public string VoucherTDSCertificateNumber { get { return vouchertdscertificatenumber; } //CertificateNumber set { vouchertdscertificatenumber = value; } } public DateTime VoucherTDSCertificateDate { get { return vouchertdscertificatedate; } //CertificateDate set { vouchertdscertificatedate = value; } } public string VoucherTDSRemarks { get { return vouchertdsremarks; } //Remarks set { vouchertdsremarks = value; } } public DateTime VoucherTDSModifiedOn { get { return vouchertdsmodifiedon; } //ModifiedOn set { vouchertdsmodifiedon = value; } } #endregion private List vouchertdspaymentarray = new List(); public List VoucherTDSPaymentArray { get { return vouchertdspaymentarray; } //VoucherTDSPaymentArray set { vouchertdspaymentarray = value; } //VoucherTDSPaymentArray } #endregion } }