using System; using System.Data; using Forks.EnterpriseServices; using Forks.EnterpriseServices.DataDictionary; using Forks.EnterpriseServices.DomainObjects2; namespace BO { [LogicName("称重数据")] [BOClass] [Serializable] [MapToTable("WeightTable")] [KeyField("ID", KeyGenType.identity)] public class WeightTable { [LogicName("ID")] public long ID { get; set; } [LogicName("日期")] [DbColumn(DbType = SqlDbType.DateTime)] public DateTime DateTime { get; set; } [LogicName("级别号")] public long? Livestock_ID { get; set; } [LogicName("级别")] public string Livestock_Name { get; set; } [LogicName("重量")] public decimal? Weight { get; set; } [LogicName("备注")] [DbColumn(Length = 150)] public string Remark { get; set; } [LogicName("扣重")] public decimal? SubWeight { get; set; } [LogicName("头数")] public decimal? Number { get; set; } [LogicName("顺序号")] public long Sequence { get; set; } public string IP { get; set; } [LogicName("阶段号")] public string PhaseCode { get; set; } [LogicName("批次")] public string GoodsBatchName { get; set; } public long? GoodsBatchID { get; set; } [DbColumn(DefaultValue = 0)] public long Mac { get; set; } [DbColumn(DefaultValue = 0)] public bool IsExport { get; set; } [DbColumn(DefaultValue = 0)] public bool LastExportFail { get; set; } [DbColumn(Index = IndexType.Normal)] public long? SourceID { get; set; } public short? DmoTypeID { get; set; } [LogicName("B3单据号")] public long? DmoID { get; set; } } }