using BWP.B3Frameworks.BO;
|
|
using Forks.EnterpriseServices;
|
|
using Forks.EnterpriseServices.DataDictionary;
|
|
using Forks.EnterpriseServices.DataForm;
|
|
using Forks.EnterpriseServices.DomainObjects2;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace BWP.B3SheepButcherManage.BO
|
|
{
|
|
[DFClass, Serializable]
|
|
[LogicName("羊排宰单_明细")]
|
|
public class ButcherOrder_Detail : Base
|
|
{
|
|
[DbColumn(Index = IndexType.Normal, AllowNull = false)]
|
|
public long ButcherOrder_ID { get; set; }
|
|
|
|
[LogicName("顺序号")]
|
|
[DFNotEmpty]
|
|
public int Sequence { get; set; }
|
|
|
|
[LogicName("过磅单号")]
|
|
public long? WeightBill_ID { get; set; }
|
|
|
|
[Join("WeightBill_ID", "ID")]
|
|
[LogicName("收购头数")]
|
|
[ReferenceTo(typeof(WeightBill), "BuyNum")]
|
|
public int? BuyNum { get; set; }
|
|
|
|
[LogicName("排宰头数")]
|
|
public int? Number { get; set; }
|
|
|
|
[Join("WeightBill_ID", "ID")]
|
|
[LogicName("供应商")]
|
|
[ReferenceTo(typeof(WeightBill), "Supplier_Name")]
|
|
public string Supplier_Name { get; set; }
|
|
}
|
|
|
|
[Serializable]
|
|
public class ButcherOrder_DetailCollection : DmoCollection<ButcherOrder_Detail>
|
|
{ }
|
|
}
|