using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.ItemBrand { public class ItemBrandDTO { #region PrivateMembers #region ItemBrand private int itembrandid; private string itembrandcode; private string itembrandname; private byte itembrandisselected; private string itembrandremarks = ""; private byte itembrandisitem; private byte itembrandisasset; #endregion #region Base private int itembrandcreatedbyid; //Created By Person (User Id) private DateTime itembrandcreatedon; //Created On Date private string itembrandcreatedbyname; //Created By Name private int itembrandmodifiedbyid; //Modified By Person (User Id) private DateTime itembrandmodifiedon; //Modified On Date private string itembrandmodifiedbyname; //Modified By Name #endregion #region Standard private Int16 itembrandsortorder; private byte itembrandstatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 itembrandversion; //No Of Times Updated #endregion private int itembrandscreenoperationmode = 1; #endregion #region PublicMembers #region ItemBrand public int ItemBrandId { get { return itembrandid; } set { itembrandid = value; } } public string ItemBrandCode { get { return itembrandcode; } set { itembrandcode = value; } } public string ItemBrandName { get { return itembrandname; } set { itembrandname = value; } } public byte ItemBrandIsSelected { get { return itembrandisselected; } set { itembrandisselected = value; } } public string ItemBrandRemarks { get { return itembrandremarks; } set { if (value == null) { itembrandremarks = ""; } else { itembrandremarks = value; } } } public virtual byte ItemBrandIsAsset { get { return itembrandisasset; } //added by priya set { itembrandisasset = value; } //added by priya } public virtual byte ItemBrandIsItem { get { return itembrandisitem; } //added by priya set { itembrandisitem = value; } //added by priya } #endregion #region Base public int ItemBrandCreatedById { get { return itembrandcreatedbyid; } //Created By Person (User Id) set { itembrandcreatedbyid = value; } //Created By Person (User Id) } public DateTime ItemBrandCreatedOn { get { return itembrandcreatedon; } //Created On Date set { itembrandcreatedon = value; } //Created On Date } public string ItemBrandCreatedByName { get { return itembrandcreatedbyname; } //Created By Name set { itembrandcreatedbyname = value; } //Created By Name } public int ItemBrandModifiedById { get { return itembrandmodifiedbyid; } //Modified By Person (User Id) set { itembrandmodifiedbyid = value; } } public DateTime ItemBrandModifiedOn { get { return itembrandmodifiedon; } //Modified On Date set { itembrandmodifiedon = value; } } public string ItemBrandModifiedByName { get { return itembrandmodifiedbyname; } //Modified By Name set { itembrandmodifiedbyname = value; } //Modified By Name } #endregion #region Standard public Int16 ItemBrandSortOrder { get { return itembrandsortorder; } set { itembrandsortorder = value; } } public byte ItemBrandStatus { get { return itembrandstatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { itembrandstatus = value; } } public Int16 ItemBrandVersion { get { return itembrandversion; } //No Of Times Updated set { itembrandversion = value; } } #endregion public int ItemBrandScreenOperationMode { get { return itembrandscreenoperationmode; } set { itembrandscreenoperationmode = value; } } #endregion } }