|
|
using BWP.B3Frameworks;
|
|
|
using BWP.B3Frameworks.Attributes;
|
|
|
using BWP.B3Frameworks.BO;
|
|
|
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.B3SheepButcherManage.BO
|
|
|
{
|
|
|
[DFClass, Serializable]
|
|
|
[LogicName("羊排宰")]
|
|
|
[DmoTypeID(B3FrameworksConsts.DmoTypeIDBases.B3SheepButcherManage, B3SheepButcherManageConsts.DmoTypeIDOffsets.ButcherOrder)]
|
|
|
[EditUrl("~/B3SheepButcherManage/Bills/ButcherOrder_/ButcherOrderEdit.aspx")]
|
|
|
public class ButcherOrder : DepartmentWorkFlowBill
|
|
|
{
|
|
|
private DateTime dt = DateTime.Today;
|
|
|
[LogicName("宰杀日期")]
|
|
|
[DFExtProperty("WebControlType", DFEditControl.DateInput)]
|
|
|
public DateTime Date { get { return dt; } set { dt = value; } }
|
|
|
|
|
|
private ButcherOrder_DetailCollection mDetail = new ButcherOrder_DetailCollection();
|
|
|
[OneToMany(typeof(ButcherOrder_Detail), "Sequence")]
|
|
|
[Join("ID", "ButcherOrder_ID")]
|
|
|
public ButcherOrder_DetailCollection Details
|
|
|
{
|
|
|
get { return mDetail; }
|
|
|
set { mDetail = value; }
|
|
|
}
|
|
|
}
|
|
|
}
|