using BWP.B3ClientService.NamedValueTemplate;
|
|
using BWP.B3Frameworks.BO;
|
|
using Forks.EnterpriseServices;
|
|
using Forks.EnterpriseServices.DataDictionary;
|
|
using Forks.EnterpriseServices.DataForm;
|
|
using Forks.EnterpriseServices.DomainObjects2;
|
|
using Forks.Utils;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace BWP.B3ClientService.BO
|
|
{
|
|
|
|
[DBIndex("IDX_B3ClientService_CarcassFullInfo_Clustered", "BarCode", false, 0)]
|
|
[DBIndexType("IDX_B3ClientService_CarcassFullInfo_Clustered", IndexType.Normal)]
|
|
[DFClass]
|
|
[LogicName("白条数据表")]
|
|
public class CarcassFullInfo : Base
|
|
{
|
|
public CarcassFullInfo()
|
|
{
|
|
CreateTime = DateTime.Now;
|
|
}
|
|
|
|
[DbColumn(DbType = SqlDbType.DateTime)]
|
|
[LogicName("创建时间")]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
[LogicName("条码")]
|
|
public string BarCode { get; set; }
|
|
|
|
#region 定级信息
|
|
|
|
[LogicName("屠宰日期")]
|
|
public DateTime? ButcherDate { get; set; }
|
|
|
|
[DbColumn(DbType = SqlDbType.DateTime)]
|
|
[LogicName("定级时间")]
|
|
public DateTime? GradeTime { get; set; }
|
|
|
|
[LogicName("定级员")]
|
|
public long? GradeWorker_ID { get; set; }
|
|
|
|
[LogicName("胴体级别")]
|
|
public long? Livestock_ID { get; set; }
|
|
|
|
[LogicName("胴体重量")]
|
|
public decimal? GradeWeight { get; set; }
|
|
|
|
[LogicName("定级生产批次")]
|
|
public long? GradeProductBatch_ID { get; set; }
|
|
|
|
[ReferenceTo(typeof(ProductBatch), "Name")]
|
|
[Join("GradeProductBatch_ID", "ID")]
|
|
public string GradeProductBatch_Name { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region 入库信息
|
|
|
|
[LogicName("入库员")]
|
|
public long? InStoreWorker_ID { get; set; }
|
|
|
|
[LogicName("工作单元")]
|
|
public long? WorkUnit_ID { get; set; }
|
|
|
|
[LogicName("生产批次")]
|
|
public long? ProductBatch_ID { get; set; }
|
|
|
|
[LogicName("入库存货")]
|
|
public long? InStoreGoods_ID { get; set; }
|
|
|
|
[LogicName("入库重量")]
|
|
public decimal? InStoreWeight { get; set; }
|
|
|
|
[LogicName("入库时间")]
|
|
[DbColumn(DbType = SqlDbType.DateTime)]
|
|
public DateTime? InStoreTime { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region 领用信息
|
|
|
|
[LogicName("领用人员")]
|
|
public long? PickWorker_ID { get; set; }
|
|
|
|
[LogicName("领用工作单元")]
|
|
public long? PickWorkUnit_ID { get; set; }
|
|
|
|
[LogicName("领用时间")]
|
|
public DateTime? PickTime { get; set; }
|
|
|
|
[LogicName("领用类型")]
|
|
public NamedValue<领用类型>? PickType { get; set; }
|
|
|
|
[LogicName("销售存货")]
|
|
public long? SaleGoods_ID { get; set; }
|
|
|
|
[LogicName("领用重量")]
|
|
public decimal? PickWeight { get; set; }
|
|
|
|
[LogicName("领用组标识")]
|
|
public long? PickGroupID { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
}
|