using Forks.EnterpriseServices.DomainObjects2;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ButcherFactory.BO.Bill
{
  [MapToTable("Butcher_WeightCountEntity")]
  public class WeightCountEntity : SyncBill
  {
    public long? WorkUnit_ID { get; set; }

    public long? Store_ID { get; set; }

    public long? Goods_ID { get; set; }

    public long? ProductBatch_ID { get; set; }

    public decimal? GrossWeight { get; set; }

    public decimal? Discont { get; set; }

    public decimal? Weight { get; set; }

    [DbColumn(DefaultValue = 1)]
    public int Number { get; set; }

    [ReferenceTo(typeof(Goods), "Name")]
    [Join("Goods_ID", "ID")]
    public string Goods_Name { get; set; }

    public bool Submited { get; set; }

    public bool ProduceOut { get; set; }

    public string BarCode { get; set; }
  }
}
