|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Text;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace CK.SCP.Models.ScpEntity
|
|
|
|
{
|
|
|
|
[Serializable]
|
|
|
|
public partial class TB_FORECAST : RecordEntity
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// UID
|
|
|
|
/// </summary>
|
|
|
|
[Key]
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
public long UID { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 零件编号
|
|
|
|
/// </summary>
|
|
|
|
[StringLength(50)]
|
|
|
|
public string PartCode { get; set; }
|
|
|
|
/// </summary>
|
|
|
|
/// 供应商编号
|
|
|
|
/// </summary>
|
|
|
|
public string VendId { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// N+1
|
|
|
|
/// </summary>
|
|
|
|
public decimal MonthQty1 { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// N+2
|
|
|
|
/// </summary>
|
|
|
|
public decimal MonthQty2 { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// N+3
|
|
|
|
/// </summary>
|
|
|
|
public decimal MonthQty3 { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 状态
|
|
|
|
/// </summary>
|
|
|
|
public int State { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 地点
|
|
|
|
/// </summary>
|
|
|
|
public string Site { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// 月份
|
|
|
|
/// </summary>
|
|
|
|
public string Month { get; set; }
|
|
|
|
public string PoType { get; set; }
|
|
|
|
public int PoLine { get; set; }
|
|
|
|
[StringLength(50)]
|
|
|
|
public string Specifications { get; set; }
|
|
|
|
public string Unit { get; set; }
|
|
|
|
public decimal Qty { get; set; }
|
|
|
|
public string ProductStatus { get; set; }
|
|
|
|
public string IsUrgent { get; set; }
|
|
|
|
public DateTime? ShippdedTime { get; set; }
|
|
|
|
public string ShippdedPlace { get; set; }
|
|
|
|
public decimal MonthQty { get; set; }
|
|
|
|
public string Ontime { get; set; }
|
|
|
|
public string Datetime { get; set; }
|
|
|
|
[StringLength(50)]
|
|
|
|
public string Remark { get; set; }
|
|
|
|
}
|
|
|
|
}
|