using Forks.EnterpriseServices.DomainObjects2; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ButcherFactory.BO { [MapToTable("Butcher_ClientGoodsSet")] public class ClientGoodsSet : BaseInfo { private List mDetails = new List(); [NonDmoProperty] public List Details { get { return mDetails; } } private List mGoods = new List(); [NonDmoProperty] public List Goods { get { return mGoods; } } [NonDmoProperty] public bool Stopped { get; set; } } [MapToTable("Butcher_ClientGoodsSet_Detail")] public class ClientGoodsSet_Detail { public long ClientGoodsSet_ID { get; set; } public long ID { get; set; } public long Goods_ID { get; set; } [ReferenceTo(typeof(Goods), "Name")] [Join("Goods_ID", "ID")] public string Goods_Name { get; set; } public decimal? StandardWeight { get; set; } public decimal? StandardWeightUp { get; set; } public decimal? StandardWeightLow { get; set; } [NonDmoProperty] public bool Selected { get; set; } } }