using Ant.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MES.Production.Entity.Entity
{
///
/// YW_DeviceProduct设备售卖商品
///
[Table("YW_DeviceProduct")]
public class YW_DeviceProduct
{
///
/// 主键ID
///
[Column("id", IsPrimaryKey = true)]
public string Id { set; get; } = string.Empty;
///
/// 设备id
///
public string DeviceId { set; get; } = string.Empty;
///
/// 商品id
///
public string ProductId { set; get; } = string.Empty;
///
/// 售卖价
///
public decimal Price { set; get; }
///
/// 库存
///
public int Stock { set; get; }
///
/// 是否删除(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;
}
}