using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.Instrument { public class InstrumentDTO { #region PrivateMembers #region Instrument private int instrumentid; private string instrumentname; private byte instrumenttype; //Cash,Cheque,DD,EFT, GV, CC, DC private byte instrumentaccountposttype; //Immediate, On Depo, On Realisation private byte instrumentpostdatedtype; //NA, Immediate, On Depo, On Realisation private Int16 instrumentvalidityperiodindays; //no of days valid. 9999 for always valid private byte instrumentstatusofinstrument; //Pending, Realised private byte instrumentisapplicableforbank; private byte instrumentisapplicableforcountertransaction; private int accountid; private string accountcode; private string accountname; #endregion private string instrumentaccountposttypename; private string instrumentpostdatedtypename; private string instrumentstatusname; private string isapplicableforbankname; private string isapplicableforcountertransactionname; #region Base private int instrumentcreatedbyid; //Created By Person (User Id) private DateTime instrumentcreatedon; //Created On Date private int instrumentmodifiedbyid; //Modified By Person (User Id) private DateTime instrumentmodifiedon; //Modified On Date private string instrumentcreatedbyname; private string instrumentmodifiedbyname; #endregion #region Ou private string instrumentouids = "-1"; private string instrumentounames = "NONE"; #endregion #region Ougroup private string instrumentougroupids = "-1"; private string instrumentougroupnames = "NONE"; #endregion #region Standard private Int16 instrumentsortorder; private byte instrumentstatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 instrumentversion; //No Of Times Updated private int tenantid; #endregion #endregion #region PublicMembers #region Instrument public int InstrumentId { get { return instrumentid; } set { instrumentid = value; } } public string InstrumentName { get { return instrumentname; } set { instrumentname = value; } } public byte InstrumentType { get { return instrumenttype; } //Cash,Cheque,DD,EFT, GV, CC, DC set { instrumenttype = value; } //Cash,Cheque,DD,EFT, GV, CC, DC } public byte InstrumentAccountPostType { get { return instrumentaccountposttype; } //Immediate, On Depo, On Realisation set { instrumentaccountposttype = value; } //Immediate, On Depo, On Realisation } public virtual string InstrumentAccountPostTypeName { get { return instrumentaccountposttypename; } set { instrumentaccountposttypename = value; } } public virtual string InstrumentPostDatedTypeName { get { return instrumentpostdatedtypename; } set { instrumentpostdatedtypename = value; } } public byte InstrumentPostDatedType { get { return instrumentpostdatedtype; } //NA, Immediate, On Depo, On Realisation set { instrumentpostdatedtype = value; } //Immediate, On Depo, On Realisation } //NA, Immediate, On Depo, On Realisation } public Int16 InstrumentValidityPeriodInDays { get { return instrumentvalidityperiodindays; } //no of days valid. 9999 for always valid set { instrumentvalidityperiodindays = value; } //no of days valid. 9999 for always valid } public byte InstrumentStatusOfInstrument { get { return instrumentstatusofinstrument; } set { instrumentstatusofinstrument = value; } } public string InstrumentStatusName { get { return instrumentstatusname; } set { instrumentstatusname = value; } } public byte InstrumentIsApplicableForBank { get { return instrumentisapplicableforbank; } set { instrumentisapplicableforbank = value; } } public string ISApplicableforBankName { get { return isapplicableforbankname; } set { isapplicableforbankname = value; } } public string ISApplicableforCounterTransactionName { get { return isapplicableforcountertransactionname; } set { isapplicableforcountertransactionname = value; } } public byte InstrumentIsApplicableforCounterTransaction { get { return instrumentisapplicableforcountertransaction; } set { instrumentisapplicableforcountertransaction = value; } } public int AccountId { get { return accountid; } set { accountid = value; } } public string AccountCode { get { return accountcode; } set { accountcode = value; } } public string AccountName { get { return accountname; } set { accountname = value; } } #endregion #region Base public int InstrumentCreatedById { get { return instrumentcreatedbyid; } //Created By Person (User Id) set { instrumentcreatedbyid = value; } //Created By Person (User Id) } public DateTime InstrumentCreatedOn { get { return instrumentcreatedon; } //Created On Date set { instrumentcreatedon = value; } //Created On Date } public int InstrumentModifiedById { get { return instrumentmodifiedbyid; } //Modified By Person (User Id) set { instrumentmodifiedbyid = value; } } public DateTime InstrumentModifiedOn { get { return instrumentmodifiedon; } //Modified On Date set { instrumentmodifiedon = value; } } public string InstrumentCreatedByName { get { return instrumentcreatedbyname; } //created by person (user id) set { instrumentcreatedbyname = value; } //created by person (user id) } public string InstrumentModifiedByName { get { return instrumentmodifiedbyname; } //modified by person (user id) set { instrumentmodifiedbyname = value; } } public int TenantId { get { return tenantid; } set { tenantid = value; } } #endregion #region Standard public Int16 InstrumentSortOrder { get { return instrumentsortorder; } set { instrumentsortorder = value; } } public byte InstrumentStatus { get { return instrumentstatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { instrumentstatus = value; } } public Int16 InstrumentVersion { get { return instrumentversion; } //No Of Times Updated set { instrumentversion = value; } } #endregion #endregion #region ouids public string InstrumentOuIds { get { return instrumentouids; } //instrumentouids set { instrumentouids = value; } //instrumentouids } public string InstrumentOuNames { get { return instrumentounames; } //instrumentounames set { instrumentounames = value; } //instrumentounames } #endregion #region ougroup public string InstrumentOuGroupIds { get { return instrumentougroupids; } //instrumentougroupids set { instrumentougroupids = value; } //instrumentougroupids } public string InstrumentOuGroupNames { get { return instrumentougroupnames; } //instrumentougroupnames set { instrumentougroupnames = value; } //instrumentougroupnames } #endregion } }