using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace JiepeiWMS.Model.Models
{
///
///采购报价商品详情表
///
[SugarTable("WMPurchaseQuoteDetail", "Jiepei_WMS")]
public class WMPurchaseQuoteDetail
{
public WMPurchaseQuoteDetail()
{
}
///
/// 主键id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
///
/// 采购Id
///
public int PurchaseId { get; set; }
///
/// 报价Id
///
public int? QuoteId { get; set; }
///
/// 商品状态
///
public int Status { get; set; }
///
/// 商品Id
///
public int ProductId { get; set; }
///
/// 采购数量
///
public decimal Quantity { get; set; }
///
/// 采购总价
///
public decimal? Price { get; set; }
///
/// 折扣
///
public int? Discount { get; set; }
///
/// 折扣价
///
public decimal? DiscountPrice { get; set; }
///
/// 折扣金额
///
public decimal? DisAmount { get; set; }
///
/// 金额
///
public decimal? Amount { get; set; }
///
/// 审批数量
///
public decimal? CheckNum { get; set; }
///
/// 采购数量
///
public decimal? PurchaseNum { get; set; }
///
/// 入库数量
///
public decimal? StorageNum { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 更新时间
///
public DateTime? UpdateTime { get; set; }
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 采购单位
///
public string PurchaseUnit { get; set; }
///
/// 库存入库类型
///
public int? TypeId { get; set; }
///
/// 部门ID
///
public int DepartmentId { get; set; }
///
/// 主体ID
///
public int SysOrgId { get; set; }
///
/// 入库时间
///
public DateTime? InTime { get; set; }
///
/// 库位id
///
public int? LocationId { get; set; }
///
/// 入库单id(2020-10-14已弃用)
///
public int? InInventoryId { get; set; }
///
/// 仓库id
///
public int? WareHouseId { get; set; }
///
/// 产品代码
///
[SugarColumn(IsIgnore = true)]
public string ProductCode { get; set; }
///
/// 产品名称
///
[SugarColumn(IsIgnore = true)]
public string ProductName { get; set; }
///
/// 产品规格
///
[SugarColumn(IsIgnore = true)]
public string ProductSpec { get; set; }
///
/// 采购编号
///
[SugarColumn(IsIgnore = true)]
public string PuchaseOrderNo { get; set; }
///
/// 报价编号
///
[SugarColumn(IsIgnore = true)]
public string QuoteOrderNo { get; set; }
///
/// 部门名称
///
[SugarColumn(IsIgnore = true)]
public string DepartmentName { get; set; }
///
/// 状态名称
///
[SugarColumn(IsIgnore = true)]
public string StatusName { get; set; }
///
/// 实收数;填写物料数量
///
[SugarColumn(IsIgnore = true)]
public int inputNum { get; set; }
///
/// 库存
///
[SugarColumn(IsIgnore = true)]
public decimal StockNum { get; set; }
///
/// 最近一周用量
///
[SugarColumn(IsIgnore = true)]
public decimal WeekNum { get; set; }
///
/// 最近一月用量
///
[SugarColumn(IsIgnore = true)]
public decimal MonthNum { get; set; }
///
/// 审核备注
///
[SugarColumn(IsIgnore = true)]
public string PurchaseQUoteDetailRemark { get; set; }
///
/// 审核状态
///
[SugarColumn(IsIgnore = true)]
public string PurchaseQUoteDetailStatusName { get; set; }
///
/// 总价
///
[SugarColumn(IsIgnore = true)]
public decimal ActualAmount { get; set; }
///
/// 是否审核通过
///
[SugarColumn(IsIgnore = true)]
public int Checked { get; set; }
///
/// 仓库名称
///
[SugarColumn(IsIgnore = true)]
public string WareHouseName { get; set; }
///
/// 采购员Id
///
[SugarColumn(IsIgnore = true)]
public int EmployeeId { get; set; }
///
/// 采购员
///
[SugarColumn(IsIgnore = true)]
public string EmployeeName { get; set; }
///
/// 供应商Id
///
[SugarColumn(IsIgnore = true)]
public int SupplierId { get; set; }
///
/// 供应商名称
///
[SugarColumn(IsIgnore = true)]
public string SupplierName { get; set; }
///
/// 出入库类型
///
[SugarColumn(IsIgnore = true)]
public int OutInType { get; set; }
///
/// 入库单备注
///
[SugarColumn(IsIgnore = true)]
public string InRemark { get; set; }
///
/// 所属组织
///
[SugarColumn(IsIgnore = true)]
public string CompanyName { get; set; }
///
/// 库位
///
[SugarColumn(IsIgnore = true)]
public string LocationName { get; set; }
}
}