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_CarcassInStore")] public class CarcassInStore : SyncBill { public string BarCode { get; set; } public long WorkUnit_ID { get; set; } public long ProductBatch_ID { get; set; } public long Goods_ID { get; set; } public decimal? Weight { get; set; } public long? UpID { get; set; } public decimal? BeforeWeight { get; set; } [ReferenceTo(typeof(Goods), "Name")] [Join("Goods_ID", "ID")] public string Goods_Name { get; set; } } }