using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace JiepeiWMS.Model.Models
{
///
///库存水流表
///
[SugarTable( "WMStockLog", "Jiepei_WMS")]
public class WMStockLog
{
public WMStockLog()
{
}
///
/// 主键id
///
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
public int Id { get; set; }
///
/// 商品Id
///
public int ProductId { get; set; }
///
/// 商品Id
///
public int ProductListId { get; set; }
///
/// 商品规格Id
///
public int ProductSpecId { get; set; }
///
/// 仓库Id
///
public int WareHouseId { get; set; }
///
/// 操作日志类型(1 采购)
///
public int Type { get; set; }
///
/// 加减方式 1 增加 2减少
///
public int Operation { get; set; }
///
/// 采购数量
///
public decimal? Quantity { get; set; }
///
/// 剩余数量
///
public decimal? RemainQuantity { get; set; }
///
/// 操作人id
///
public int AdminId { get; set; }
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 采购-领料订单Id
///
public int? OrderId { get; set; }
///
/// 操作中单价
///
public decimal? Price { get; set; }
///
/// 剩余单价
///
public decimal? RemainPrice { get; set; }
///
/// 总金额
///
public decimal? TotalPrice { get; set; }
///
/// 剩余总金额
///
public decimal? TotalRemainPrice { get; set; }
///
/// 库存流水日志
///
public int? DepId { get; set; }
///
/// 商品名称
///
[SugarColumn(IsIgnore = true)]
public string ProductName { get; set; }
///
/// 商品规格
///
[SugarColumn(IsIgnore = true)]
public string ProductSpec { get; set; }
///
/// 商品编号
///
[SugarColumn(IsIgnore = true)]
public string Code { get; set; }
///
/// 订单编号
///
[SugarColumn(IsIgnore = true)]
public string CodeNo { get; set; }
///
/// 创建人
///
[SugarColumn(IsIgnore = true)]
public string AdminName { get; set; }
///
/// 台账数量
///
[SugarColumn(IsIgnore = true)]
public string QuantitySign { get; set; }
///
/// 台账类型
///
[SugarColumn(IsIgnore = true)]
public string TypeName { get; set; }
///
/// 仓库名称
///
[SugarColumn(IsIgnore = true)]
public string WareHouseName { get; set; }
}
}