using WinformGeneralDeveloperFrame.Commons;

namespace MES.Entity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("productionRequisitionDetail")]
    public partial class productionRequisitionDetailInfo
    {
    ///id
    [ModelBindControl("txtid")]
    public int id{set;get;}
    ///主表ID
    [ModelBindControl("txtmasterid")]
    public int masterid{set;get;}
    ///领料单号
    [ModelBindControl("txtmastercode")]
    public string mastercode{set;get;}
    ///领料明细单号
    [ModelBindControl("txtdetailcode")]
    public string detailcode{set;get;}
    ///物料
    [ModelBindControl("txtmaterialid")]
    public int materialid{set;get;}
    ///物料编码
    [ModelBindControl("txtmaterialcode")]
    public string materialcode{set;get;}
    ///规格型号
    [ModelBindControl("txtmaterialspec")]
    public string materialspec{set;get;}
    ///物料类型
    [ModelBindControl("txtmaterialtype")]
    public int materialtype{set;get;}
    ///单位用量
    [ModelBindControl("txtunitnumber")]
    public decimal unitnumber{set;get;}
    ///产品生产数量
    [ModelBindControl("txtproductnumber")]
    public decimal productnumber{set;get;}
    ///领料数量
    [ModelBindControl("txtpicknumber")]
    public decimal picknumber{set;get;}
    ///计量单位
    [ModelBindControl("txtunit")]
    public int unit{set;get;}
    ///仓库
    [ModelBindControl("txtwarehouse")]
    public int warehouse{set;get;}
    ///备注
    [ModelBindControl("txtremark")]
    public string remark{set;get;}
    ///工单号
    [ModelBindControl("txtwocode")]
    public string wocode{set;get;}
    
    }
}