using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace FrameworkDAL.DTO.UOM { public class UOMReportDTO { #region UOM private int uomid; private string uomcode = ""; private string uomname = ""; private byte uomtype; //0 - Length,1 - Weight,2 - Time, 3 - Yarn Count,4 - Capacity,5 - Production Entry,6 - Others private byte uomnoofdecimals; #endregion #region UOM public int UOMId { get { return uomid; } set { uomid = value; } } public string UOMCode { get { return uomcode; } set { if (value == null) { uomcode = ""; } else { uomcode = value; } } } public string UOMName { get { return uomname; } set { if (value == null) { uomname = ""; } else { uomname = value; } } } public byte UOMType { get { return uomtype; } //0 - Length,1 - Weight,2 - Time, 3 - Yarn Count,4 - Capacity,5 - Production Entry,6 - Others set { uomtype = value; } //0 - Length,1 - Weight,2 - Time, 3 - Yarn Count,4 - Capacity,5 - Production Entry,6 - Others } public byte UOMNoOfDecimals { get { return uomnoofdecimals; } set { uomnoofdecimals = value; } } #endregion } }