using Ant.Entity; using MES.Production.Entity.Enum; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MES.Production.Entity.Entity { /// /// YW_PRODUCT商品表 /// [Table("YW_Product")] public class YW_Product { /// /// 主键ID /// [Column("id", IsPrimaryKey = true)] public string Id { set; get; } = string.Empty; /// /// 商品名称 /// public string Name { set; get; } = string.Empty; /// /// 商品编号(唯一) /// public string Code { set; get; } = string.Empty; /// /// 商品图片 /// public string Img { set; get; } = string.Empty; /// /// 商品简介 /// public string Info { set; get; } = string.Empty; /// /// 售卖价 /// public decimal Price { set; get; } /// /// 进货价 /// public decimal BuyingPrice { set; get; } /// /// 库存 /// public int Stock { set; get; } /// /// 售卖状态 /// public SaleEnum Sale { set; get; } = SaleEnum.Off; /// /// 是否删除(0有效1删除) /// public int IsDelete { set; get; } /// /// 创建时间 /// public DateTime CreateDT { set; get; } = DateTime.Now; /// /// 创建人 /// public string CreateBY { set; get; } = string.Empty; /// /// 修改时间 /// public DateTime ModifyDT { set; get; } = DateTime.Now; /// /// 修改人 /// public string ModifyBY { set; get; } = string.Empty; } }