using Forks.EnterpriseServices.DomainObjects2; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using TSingSoft.WebPluginFramework; namespace BWP.B3ClientService.BO { [Serializable] public class WeightBill : SyncBill, IWithRowVersion { [DbColumn(DefaultValue = 0)] public int RowVersion { get; set; } #region BasicFile [DbColumn(DefaultValue = 0)] public int PrintNumber { get; set; } public long? AccountingUnit_ID { get; set; } public long? Department_ID { get; set; } public long? Employee_ID { get; set; } public string Employee_Name { get; set; } public DateTime? WeighTime { get; set; } public long? Supplier_ID { get; set; } public string Supplier_Name { get; set; } public string BankAccount { get; set; } public long? Zone_ID { get; set; } public string Zone_Name { get; set; } public long? PurchaseType_ID { get; set; } public string PurchaseType_Name { get; set; } public long? Car_ID { get; set; } public string Car_Name { get; set; } public decimal? ShackWeight { get; set; } public decimal? ShackPrice { get; set; } public decimal? ShackMoney { get; set; } public decimal? JingJianFee { get; set; } public decimal? DiscontMoney { get; set; } public string AnimalTestNumber { get; set; } public DateTime? AnimalTestDate { get; set; } public string AnimalTestMan { get; set; } public string Remark { get; set; } #endregion #region Special //品种 打算默认 B3 过磅明细上用 其他地方不维护 public long? LiveVarieties_ID { get; set; } public string LiveVarieties_Name { get; set; } //毛猪等级 验质员会填写。 B3过磅单明细上用 public long? HogGrade_ID { get; set; } public string HogGrade_Name { get; set; } #endregion #region 无需自身维护 便于查看 [DbColumn(DbType = SqlDbType.NVarChar, Length = 2000)] public string HouseNames { get; set; } public decimal? SanctionMoney { get; set; } public long? Inspector_ID { get; set; } public string Inspector_Name { get; set; } #endregion #region 明细 private List _details = new List(); [NonDmoProperty] public List Details { get { return _details; } set { _details = value; } } private List _farmerDetails = new List(); [NonDmoProperty] public List FarmerDetails { get { return _farmerDetails; } set { _farmerDetails = value; } } #endregion } }