using System; using System.Collections.Generic; using SqlSugar; namespace JiepeiWMS.Model.Models { /// ///采购信息表 /// [SugarTable("WMPurchaseInfo", "Jiepei_WMS")] public class WMPurchaseInfo { public WMPurchaseInfo() { CreateTime = DateTime.Now; UpdateTime = DateTime.Now; } /// /// 采购Id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 审核Key关键字 /// public string CheckKey { get; set; } /// /// 采购编码 /// public string PurchaseCode { get; set; } /// /// 订单状态 /// public int Status { get; set; } /// /// 采购人Id /// public int EmployeeId { get; set; } /// /// 仓库Id /// public int WareHouseId { get; set; } /// /// 采购类型,1对内采购2对外采购 /// public int Type { get; set; } /// /// 审批人 /// public int CheckAdminId { get; set; } /// /// 审批等级 /// public int CheckRank { get; set; } /// /// 审批备注 /// public string CheckRemark { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// 更新时间 /// public DateTime? UpdateTime { get; set; } /// /// 创建时间 /// public DateTime CreateTime { get; set; } /// /// 主体ID /// public int SysOrgId { get; set; } /// /// 产品用途 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 500, IsNullable = false)] public string ProductUse { get; set; } /// /// 用户名 /// [SugarColumn(IsIgnore = true)] public string UName { get; set; } /// /// 部门名称 /// [SugarColumn(IsIgnore = true)] public string DName { get; set; } /// /// 审批人名称 /// [SugarColumn(IsIgnore = true)] public string CheckName { get; set; } /// /// 仓库名称 /// [SugarColumn(IsIgnore = true)] public string WareHouseName { get; set; } /// /// 采购详情列表 /// [SugarColumn(IsIgnore = true)] public List PurchaseQuoteDetailList { get; set; } /// /// 商品信息 /// [SugarColumn(IsIgnore = true)] public List noMatchData { get; set; } /// /// 采购填写的数量 /// [SugarColumn(IsIgnore = true)] public int inputNum { get; set; } /// /// 审批状态枚举名字 /// [SugarColumn(IsIgnore = true)] public string StatusName { get; set; } /// /// 采购类型名称 /// [SugarColumn(IsIgnore = true)] public string TypeName { get; set; } /// /// 打印时间 /// [SugarColumn(IsIgnore = true)] public DateTime Time { get; set; } /// /// 审批数组步骤条显示 /// [SugarColumn(IsIgnore = true)] public List CheckStrStep { get; set; } /// /// 审批级别步骤条显示 /// [SugarColumn(IsIgnore = true)] public int CheckRankStep { get; set; } /// /// 当前操作人 /// [SugarColumn(IsIgnore = true)] public int currentID { get; set; } } }