|
|
using BWP.B3Frameworks;
|
|
|
using Forks.EnterpriseServices;
|
|
|
using Forks.EnterpriseServices.DataForm;
|
|
|
using Forks.EnterpriseServices.DomainObjects2;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using TSingSoft.WebControls2;
|
|
|
|
|
|
namespace BWP.B3ClientService.BO
|
|
|
{
|
|
|
[DFClass, Serializable]
|
|
|
[LogicName("盘点单")]
|
|
|
public class CarcassInventory : B3Frameworks.BO.Bill
|
|
|
{
|
|
|
[LogicName("盘点日期")]
|
|
|
public DateTime Date { get; set; }
|
|
|
|
|
|
[LogicName("生产批次")]
|
|
|
[DFExtProperty("WebControlType", DFEditControl.ChoiceBox)]
|
|
|
[DFExtProperty(B3FrameworksConsts.DFExtProperties.QueryDataKind, B3ClientServiceConsts.DataSources.生产批次)]
|
|
|
public long? ProductBatch_ID { get; set; }
|
|
|
|
|
|
private CarcassInventory_SummaryDetailCollection _details = new CarcassInventory_SummaryDetailCollection();
|
|
|
|
|
|
[OneToMany(typeof(CarcassInventory_SummaryDetail), "ID")]
|
|
|
[Join("ID", "CarcassInventory_ID")]
|
|
|
public CarcassInventory_SummaryDetailCollection Details { get { return _details; } }
|
|
|
|
|
|
[LogicName("生产批次")]
|
|
|
[ReferenceTo(typeof(ProductBatch), "Name")]
|
|
|
[Join("ProductBatch_ID", "ID")]
|
|
|
public string ProductBatch_Name { get; set; }
|
|
|
}
|
|
|
}
|