WinFormTools/WinformGeneralDeveloperFrame/Entity/materialInfo.cs

46 lines
1.5 KiB
C#
Raw Normal View History

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("material")]
public partial class materialInfo
{
[ModelBindControl("txtid")]
public int id{set;get;}
[ModelBindControl("txtname")]
public string name{set;get;}
[ModelBindControl("txtcode")]
public string code{set;get;}
[ModelBindControl("txtspec")]
public string spec{set;get;}
[ModelBindControl("txtunit")]
public int unit{set;get;}
[ModelBindControl("txtreferprice")]
public decimal referprice{set;get;}
[ModelBindControl("txtmaterialtype")]
public int materialtype{set;get;}
[ModelBindControl("txtwarehouse")]
public int warehouse{set;get;}
[ModelBindControl("txtPOinnumber")]
public decimal POinnumber{set;get;}
[ModelBindControl("txtsalereturnnumber")]
public decimal salereturnnumber{set;get;}
[ModelBindControl("txtYDProductConsume")]
public decimal YDProductConsume{set;get;}
[ModelBindControl("txtproductmaterialreturn")]
public decimal productmaterialreturn{set;get;}
[ModelBindControl("txtstocknumber")]
public decimal stocknumber{set;get;}
[ModelBindControl("txtstockwarnnumber")]
public decimal stockwarnnumber{set;get;}
[ModelBindControl("txtremark")]
public string remark{set;get;}
}
}