using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.MaterialAccount { public class MaterialAccountDTO { #region PrivateMembers #region MaterialAccount private int materialaccountid; private string materialaccountcode; private string materialaccountname; private byte materialaccountistransactiontypebased; private int stockaccountid; private string stockaccountcode; private string stockaccountname; private int consumptionaccountid; private string consumptionaccountcode; private string consumptionaccountname; private int costofgoodsaccountid; private string costofgoodsaccountcode; private string costofgoodsaccountname; #region WipAccount private int wipaccountid = -1; private string wipaccountcode; private string wipaccountname; #endregion #region WipSockAccount private int wipstockaccountid = -1; private string wipstockaccountcode; private string wipstockaccountname; #endregion #region CogmAccount private int cogmaccountid = -1; private string cogmaccountcode; private string cogmaccountname; #endregion #endregion #region Base private int materialaccountcreatedbyid; //Created By Person (User Id) private DateTime materialaccountcreatedon; //Created On Date private string materialaccountcreatedbyname; //Created By Name private int materialaccountmodifiedbyid; //Modified By Person (User Id) private DateTime materialaccountmodifiedon; //Modified On Date private string materialaccountmodifiedbyname; //Modified By Name #endregion #region Standard private Int16 materialaccountsortorder; private byte materialaccountstatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 materialaccountversion; //No Of Times Updated #endregion #region CostCenter private int costcenterid; private string costcentercode; private string costcentername; #endregion private List materialaccountdetail = new List(); #endregion #region PublicMembers #region MaterialAccount public int MaterialAccountId { get { return materialaccountid; } set { materialaccountid = value; } } public string MaterialAccountCode { get { return materialaccountcode; } set { materialaccountcode = value; } } public string MaterialAccountName { get { return materialaccountname; } set { materialaccountname = value; } } public byte MaterialAccountIsTransactionTypeBased { get { return materialaccountistransactiontypebased; } set { materialaccountistransactiontypebased = value; } } public int StockAccountId { get { return stockaccountid; } set { stockaccountid = value; } } public string StockAccountCode { get { return stockaccountcode; } set { stockaccountcode = value; } } public string StockAccountName { get { return stockaccountname; } set { stockaccountname = value; } } public int ConsumptionAccountId { get { return consumptionaccountid; } set { consumptionaccountid = value; } } public string ConsumptionAccountCode { get { return consumptionaccountcode; } set { consumptionaccountcode = value; } } public string ConsumptionAccountName { get { return consumptionaccountname; } set { consumptionaccountname = value; } } public int CostOfGoodsAccountId { get { return costofgoodsaccountid; } set { costofgoodsaccountid = value; } } public string CostOfGoodsAccountCode { get { return costofgoodsaccountcode; } set { costofgoodsaccountcode = value; } } public string CostOfGoodsAccountName { get { return costofgoodsaccountname; } set { costofgoodsaccountname = value; } } #region WipAccount public int WipAccountId { get { return wipaccountid; } set { wipaccountid = value; } } public string WipAccountCode { get { return wipaccountcode; } set { wipaccountcode = value; } } public string WipAccountName { get { return wipaccountname; } set { wipaccountname = value; } } #endregion #region WipSockAccount public int WipStockAccountId { get { return wipstockaccountid; } set { wipstockaccountid = value; } } public string WipStockAccountCode { get { return wipstockaccountcode; } set { wipstockaccountcode = value; } } public string WipStockAccountName { get { return wipstockaccountname; } set { wipstockaccountname = value; } } #endregion #region CogmAccount public int CogmAccountId { get { return cogmaccountid; } set { cogmaccountid = value; } } public string CogmAccountCode { get { return cogmaccountcode; } set { cogmaccountcode = value; } } public string CogmAccountName { get { return cogmaccountname; } set { cogmaccountname = value; } } #endregion #region CostCenter public int CostCenterId { get { return costcenterid; } set { costcenterid = value; } } public string CostCenterCode { get { return costcentercode; } set { costcentercode = value; } } public string CostCenterName { get { return costcentername; } set { costcentername = value; } } #endregion #endregion #region Base public int MaterialAccountCreatedById { get { return materialaccountcreatedbyid; } //Created By Person (User Id) set { materialaccountcreatedbyid = value; } //Created By Person (User Id) } public DateTime MaterialAccountCreatedOn { get { return materialaccountcreatedon; } //Created On Date set { materialaccountcreatedon = value; } //Created On Date } public string MaterialAccountCreatedByName { get { return materialaccountcreatedbyname; } //Created By Name set { materialaccountcreatedbyname = value; } //Created By Name } public int MaterialAccountModifiedById { get { return materialaccountmodifiedbyid; } //Modified By Person (User Id) set { materialaccountmodifiedbyid = value; } } public DateTime MaterialAccountModifiedOn { get { return materialaccountmodifiedon; } //Modified On Date set { materialaccountmodifiedon = value; } } public string MaterialAccountModifiedByName { get { return materialaccountmodifiedbyname; } //Modified By Name set { materialaccountmodifiedbyname = value; } } #endregion #region Standard public Int16 MaterialAccountSortOrder { get { return materialaccountsortorder; } set { materialaccountsortorder = value; } } public byte MaterialAccountStatus { get { return materialaccountstatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { materialaccountstatus = value; } } public Int16 MaterialAccountVersion { get { return materialaccountversion; } //No Of Times Updated set { materialaccountversion = value; } } private int sourcetype; public int SourceType { get { return sourcetype; } set { sourcetype = value; } } private int tenantid; public int TenantId { get { return tenantid; } set { tenantid = value; } } #endregion public List MaterialAccountDetailArray { get { return materialaccountdetail; } set { materialaccountdetail = value; } } #endregion } }