using BWP.B3Frameworks.BO;
|
|
using BWP.B3Sale.BO;
|
|
using BWP.B3UnitedInfos.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.WebPluginFramework;
|
|
|
|
|
|
namespace BWP.B3_YunKen.BO
|
|
{
|
|
public class Goods_Package : BaseInfo
|
|
{
|
|
|
|
[LogicName("产品ID")]
|
|
public long? Goods_ID { get; set; }
|
|
|
|
[LogicName("包装物")]
|
|
public long? Package_ID { get; set; }
|
|
|
|
[LogicName("价格")]
|
|
public decimal? Price { get; set; }
|
|
|
|
private int _smallPackNum = 1;
|
|
[LogicName("小包装物数量")]
|
|
[DbColumn(DefaultValue = 1)]
|
|
public int SmallPackNum
|
|
{
|
|
get { return _smallPackNum; }
|
|
set { _smallPackNum = value; }
|
|
}
|
|
|
|
private DateTime? _date = BLContext.Today;
|
|
|
|
[LogicName("启用日期")]
|
|
public DateTime? Date
|
|
{
|
|
get { return _date; }
|
|
set { _date = value; }
|
|
}
|
|
|
|
[Join("Goods_ID", "ID")]
|
|
[LogicName("产品")]
|
|
[ReferenceTo(typeof(Goods), "Name")]
|
|
public string Goods_Name { get; set; }
|
|
|
|
[DFPrompt("包装物")]
|
|
[Join("Package_ID", "ID")]
|
|
[ReferenceTo(typeof(Wrappage), "Name")]
|
|
public string Package_Name { get; set; }
|
|
|
|
[Join("Package_ID", "ID")]
|
|
[ReferenceTo(typeof(Wrappage), "WrappageKind_TreeDeep1ID")]
|
|
public long? PackageClass_TreeDeep1ID { get; set; }
|
|
|
|
[DFPrompt("会计单位")]
|
|
[LogicName("会计单位D")]
|
|
[Join("Package_ID", "ID")]
|
|
[ReferenceTo(typeof(Wrappage), "AccountingUnit_ID")]
|
|
public long? Package_AccountingUnit_ID { get; set; }
|
|
|
|
[DFPrompt("会计单位")]
|
|
[Join("Package_ID", "ID")]
|
|
[ReferenceTo(typeof(Wrappage), "AccountingUnit_Name")]
|
|
public string Package_AccountingUnit_Name { get; set; }
|
|
|
|
//[Join("Package_ID", "ID")]
|
|
//[ReferenceTo(typeof(Wrappage), "AccountingUnit_Organization_ID")]
|
|
//public long? Package_AccountingUnit_Organization_ID { get; set; }
|
|
|
|
}
|
|
}
|