2021-05-27 18:08:25 +08:00
|
|
|
using WinformGeneralDeveloperFrame.Commons;
|
|
|
|
|
|
2021-05-29 14:11:44 +08:00
|
|
|
namespace MES.Entity
|
2021-05-27 18:08:25 +08:00
|
|
|
{
|
|
|
|
|
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
|
|
|
|
|
{
|
2021-05-29 14:11:44 +08:00
|
|
|
///id
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtid")]
|
|
|
|
|
public int id{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///产品名称
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtproductname")]
|
|
|
|
|
public string productname{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///规格
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtspec")]
|
|
|
|
|
public string spec{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///默认单价
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtdefaultprice")]
|
|
|
|
|
public decimal defaultprice{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///计量单位
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtunit")]
|
|
|
|
|
public string unit{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///仓库
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtwarehouse")]
|
|
|
|
|
public int warehouse{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///产品类别
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtproducttype")]
|
|
|
|
|
public string producttype{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///产品编号
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtproductcode")]
|
|
|
|
|
public string productcode{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///库存
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtstocknumber")]
|
|
|
|
|
public decimal stocknumber{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///期初数量
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtstartnumber")]
|
|
|
|
|
public decimal startnumber{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///期初总价
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtstartprice")]
|
|
|
|
|
public decimal startprice{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///生产入库数量
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtproductinnumber")]
|
|
|
|
|
public decimal productinnumber{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///销售出库数量
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtsaleoutnumber")]
|
|
|
|
|
public decimal saleoutnumber{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///客户退货数量
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtcustomerreturnnumber")]
|
|
|
|
|
public decimal customerreturnnumber{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///库存预警数量
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtstockwarnnumber")]
|
|
|
|
|
public decimal stockwarnnumber{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///创建人
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtcreatorId")]
|
|
|
|
|
public int creatorId{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///创建时间
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtcreateTime")]
|
|
|
|
|
public DateTime? createTime{set;get;}=DateTime.Now;
|
2021-05-29 14:11:44 +08:00
|
|
|
///编辑人
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txteditorId")]
|
|
|
|
|
public int editorId{set;get;}
|
2021-05-29 14:11:44 +08:00
|
|
|
///编辑时间
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txteditTime")]
|
|
|
|
|
public DateTime? editTime{set;get;}=DateTime.Now;
|
2021-05-29 14:11:44 +08:00
|
|
|
///备注
|
2021-05-27 18:08:25 +08:00
|
|
|
[ModelBindControl("txtremark")]
|
|
|
|
|
public string remark{set;get;}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|