using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MMDAL.DTO.Color { public class ColorDTO { #region PrivateMembers #region Color private int colorid; private string colorcode; private string colorname; private string colornameinnative; private byte colortype; private byte coloristwistcolor; #region FirstColor private int firstcolorid; private string firstcolorcode; private string firstcolorname; #endregion #region SecondColor private int secondcolorid; private string secondcolorcode; private string secondcolorname; #endregion #region ThirdColor private int thirdcolorid; private string thirdcolorcode; private string thirdcolorname; #endregion private int colorrgbvalue1; private int colorrgbvalue2; private int colorrgbvalue3; private byte colorshadetype; private double colordyeinglosspercentage; private double colordyeingrate; #endregion #region Base private int colorcreatedbyid; //Created By Person (User Id) private DateTime colorcreatedon; //Created On Date private string colorcreatedbyname; //Created By Name private int colormodifiedbyid; //Modified By Person (User Id) private DateTime colormodifiedon; //Modified On Date private string colormodifiedbyname; //Modified By Name #endregion #region Standard private Int16 colorsortorder; private byte colorstatus; //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived private Int16 colorversion; //No Of Times Updated #endregion #endregion #region PublicMembers public int ColorId { get { return colorid; } set { colorid = value; } } public string ColorCode { get { return colorcode; } set { colorcode = value; } } public string ColorName { get { return colorname; } set { colorname = value; } } public string ColorNameInNative { get { return colornameinnative; } set { colornameinnative = value; } } public byte ColorType { get { return colortype; } set { colortype = value; /*ColorTypeValue = ((Gb4EnumDTO.ColorTypeValue)colortype).ToString() ------->DEVADMIN*/; } } public byte ColorIsTwistColor { get { return coloristwistcolor; } set { coloristwistcolor = value; /*ColorIsTwistColorValue = ((Gb4EnumDTO.ColorIsTwistColorValue)coloristwistcolor).ToString() -------->DEVADMIN */; } } #region FirsrColor public int FirstColorId { get { return firstcolorid; } set { firstcolorid = value; } } public string FirstColorCode { get { return firstcolorcode; } set { firstcolorcode = value; } } public string FirstColorName { get { return firstcolorname; } set { firstcolorname = value; } } #endregion #region SecondColor public int SecondColorId { get { return secondcolorid; } set { secondcolorid = value; } } public string SecondColorCode { get { return secondcolorcode; } set { secondcolorcode = value; } } public string SecondColorName { get { return secondcolorname; } set { secondcolorname = value; } } #endregion #region ThirdColor public int ThirdColorId { get { return thirdcolorid; } set { thirdcolorid = value; } } public string ThirdColorCode { get { return thirdcolorcode; } set { thirdcolorcode = value; } } public string ThirdColorName { get { return thirdcolorname; } set { thirdcolorname = value; } } #endregion public int ColorRGBValue1 { get { return colorrgbvalue1; } set { colorrgbvalue1 = value; } } public int ColorRGBValue2 { get { return colorrgbvalue2; } set { colorrgbvalue2 = value; } } public int ColorRGBValue3 { get { return colorrgbvalue3; } set { colorrgbvalue3 = value; } } public byte ColorShadeType { get { return colorshadetype; } set { colorshadetype = value; } } public double ColorDyeingLossPercentage { get { return colordyeinglosspercentage; } set { colordyeinglosspercentage = value; } } public double ColorDyeingRate { get { return colordyeingrate; } set { colordyeingrate = value; } } public string ColorTypeValue; public string ColorIsTwistColorValue; #endregion #region Base public int ColorCreatedById { get { return colorcreatedbyid; } //Created By Person (User Id) set { colorcreatedbyid = value; } //Created By Person (User Id) } public DateTime ColorCreatedOn { get { return colorcreatedon; } //Created On Date set { colorcreatedon = value; } //Created On Date } public string ColorCreatedByName { get { return colorcreatedbyname; } //Created By Name set { colorcreatedbyname = value; } //Created By Name } public int ColorModifiedById { get { return colormodifiedbyid; } //Modified By Person (User Id) set { colormodifiedbyid = value; } } public DateTime ColorModifiedOn { get { return colormodifiedon; } //Modified On Date set { colormodifiedon = value; } } public string ColorModifiedByName { get { return colormodifiedbyname; } //Modified By Name set { colormodifiedbyname = value; } //Modified By Name } #endregion #region Standard public Int16 ColorSortOrder { get { return colorsortorder; } set { colorsortorder = value; } } public byte ColorStatus { get { return colorstatus; } //0.Pending, 1.Active, 2.Deleted, 3.Amended, 4.Inactive, 5.Archived set { colorstatus = value; } } public Int16 ColorVersion { get { return colorversion; } //No Of Times Updated set { colorversion = value; } } #endregion private int sourcetype; public int SourceType { get { return sourcetype; } set { sourcetype = value; } } private int tenantid; public int Tenantid { get { return tenantid; } set { tenantid = value; } } } }