using System; using InABox.Core; using Xamarin.Forms; namespace comal.timesheets { public class StockHoldingShell3 : Entity { public Guid LocationID { get; set; } public string Location { get; set; } public string Area { get; set; } public string JobNumber { get; set; } public string Style { get; set; } public string Units { get; set; } public string UnitSize { get; set; } protected override void Init() { base.Init(); LocationID = Guid.Empty; Location = ""; Area = ""; JobNumber = ""; Style = ""; Units = ""; UnitSize = ""; } public StockHoldingShell3() { } } public class StockHoldingShell : BaseObject { public string ID { get; set; } public Guid ProductID { get; set; } public string Code { get; set; } public string Name { get; set; } public string DisplayUnits { get; set; } public string Finish { get; set; } //style.description public string DisplaySize { get; set; } public double LastRowHeight { get; set; } public bool ImageVisible { get; set; } public ImageSource ImageSource { get; set; } public Guid ImageID { get; set; } public Color Color { get; set; } public Guid LocationID { get; set; } public string LocationName { get; set; } public string AreaName { get; set; } public Guid JobID { get; set; } public string JobName { get; set; } public string JobNumber { get; set; } public string DisplayJob { get; set; } public Guid StyleID { get; set; } public string StyleCode { get; set; } public string StyleName { get; set; } public Guid DimensionsUnitID { get; set; } public double DimensionsQuantity { get; set; } public double DimensionsLength { get; set; } public double DimensionsWidth { get; set; } public double DimensionsHeight { get; set; } public double DimensionsWeight { get; set; } public double DimensionsValue { get; set; } public string DimensionsUnitSize { get; set; } public bool DimensionsHasHeight { get; set; } public bool DimensionsHasLength { get; set; } public bool DimensionsHasWidth { get; set; } public bool DimensionsHasWeight { get; set; } public bool DimensionsHasQuantity { get; set; } public string DimensionsUnitFormula { get; set; } public string DimensionsUnitFormat { get; set; } public string DimensionsUnitCode { get; set; } public string DimensionsUnitDescription { get; set; } public double Units { get; set; } public StockHoldingShell() { ID = ""; Code = ""; Name = ""; StyleName = ""; DisplayUnits = ""; Finish = ""; Units = 0.0; JobID = Guid.Empty; JobName = ""; JobNumber = ""; DisplayJob = ""; StyleID = Guid.Empty; StyleCode = ""; ProductID = Guid.Empty; DisplaySize = ""; LastRowHeight = 0; ImageVisible = false; ImageSource = ""; ImageID = Guid.Empty; Color = Color.Default; DimensionsUnitID = Guid.Empty; DimensionsQuantity = 0; DimensionsLength = 0; DimensionsWidth = 0; DimensionsHeight = 0; DimensionsWeight = 0; DimensionsValue = 0; DimensionsUnitSize = ""; DimensionsHasHeight = false; DimensionsHasLength = false; DimensionsHasWidth = false; DimensionsHasWeight = false; DimensionsHasQuantity = false; DimensionsUnitFormula = ""; DimensionsUnitFormat = ""; DimensionsUnitCode = ""; DimensionsUnitDescription = ""; } } }