using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CK.SCP.Models.ScpEntity { public class V_FORECAST_REPORT { public string VendId { get; set; } //供应商编号 public string PartCode { get; set; } //零件号 public decimal AskQty { get; set; } //订单要货数量 public int Month { get; set; } //月份 public decimal MonthQty1 { get; set; } //N+1 public decimal MonthQty2 { get; set; } //N+2 public decimal MonthQty3 { get; set; } //N+3 [NotMapped] public string VendName => ScpCache.GetVendName(VendId);//供应商名称 } }