WinFormTools/WinformGeneralDeveloperFrame/Entity/productInfo.cs

56 lines
1.9 KiB
C#

using WinformGeneralDeveloperFrame.Commons;
namespace ERP.Entity
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("product")]
public partial class productInfo
{
[ModelBindControl("txtid")]
public int id{set;get;}
[ModelBindControl("txtproductname")]
public string productname{set;get;}
[ModelBindControl("txtspec")]
public string spec{set;get;}
[ModelBindControl("txtdefaultprice")]
public decimal defaultprice{set;get;}
[ModelBindControl("txtunit")]
public string unit{set;get;}
[ModelBindControl("txtwarehouse")]
public int warehouse{set;get;}
[ModelBindControl("txtproducttype")]
public string producttype{set;get;}
[ModelBindControl("txtproductcode")]
public string productcode{set;get;}
[ModelBindControl("txtstocknumber")]
public decimal stocknumber{set;get;}
[ModelBindControl("txtstartnumber")]
public decimal startnumber{set;get;}
[ModelBindControl("txtstartprice")]
public decimal startprice{set;get;}
[ModelBindControl("txtproductinnumber")]
public decimal productinnumber{set;get;}
[ModelBindControl("txtsaleoutnumber")]
public decimal saleoutnumber{set;get;}
[ModelBindControl("txtcustomerreturnnumber")]
public decimal customerreturnnumber{set;get;}
[ModelBindControl("txtstockwarnnumber")]
public decimal stockwarnnumber{set;get;}
[ModelBindControl("txtcreatorId")]
public int creatorId{set;get;}
[ModelBindControl("txtcreateTime")]
public DateTime? createTime{set;get;}=DateTime.Now;
[ModelBindControl("txteditorId")]
public int editorId{set;get;}
[ModelBindControl("txteditTime")]
public DateTime? editTime{set;get;}=DateTime.Now;
[ModelBindControl("txtremark")]
public string remark{set;get;}
}
}