|
|
|
namespace CK.SCP.Models.ScpEntity
|
|
|
|
{
|
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
[Serializable]
|
|
|
|
public partial class V_TB_INCOMPLETE_ASK : RecordEntity
|
|
|
|
{
|
|
|
|
[Key]
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
public long UID { get; set; }
|
|
|
|
public string PoBillNum { get; set; }
|
|
|
|
[StringLength(50)]
|
|
|
|
public string AskBillNum { get; set; }
|
|
|
|
[StringLength(50)]
|
|
|
|
public string PartCode { get; set; }
|
|
|
|
public string PartDesc1 { get; set; }
|
|
|
|
public int PoLine { get; set; }
|
|
|
|
public decimal Qty { get; set; }
|
|
|
|
public decimal AskQty { get; set; }
|
|
|
|
public decimal ReduceQty { get; set; }
|
|
|
|
public decimal Number { get; set; } //未发货数量
|
|
|
|
[NotMapped]
|
|
|
|
public decimal InvoiceQty { get; set; }//已开票数量
|
|
|
|
[NotMapped]
|
|
|
|
public decimal RejectQty { get; set; }//退货数量
|
|
|
|
[NotMapped]
|
|
|
|
public decimal ArriveQty { get; set; }//到货数量
|
|
|
|
[NotMapped]
|
|
|
|
public decimal ReceivedQty { get; set; }//合格数量
|
|
|
|
[NotMapped]
|
|
|
|
public decimal DepositQty { get; set; }//寄存数量
|
|
|
|
[NotMapped]
|
|
|
|
public decimal OnRoadQty { get; set; }//在途数量
|
|
|
|
public DateTime? BeginTime { get; set; }
|
|
|
|
|
|
|
|
public DateTime? EndTime { get; set; }
|
|
|
|
|
|
|
|
public int ValidityDays { get; set; }
|
|
|
|
|
|
|
|
public string Site { get; set; }
|
|
|
|
public string Buyer { get; set; }
|
|
|
|
public string VendId { get; set; }
|
|
|
|
public DateTime? ShipTime { get; set; }
|
|
|
|
[NotMapped]
|
|
|
|
public int SendState { get; set; }
|
|
|
|
[NotMapped]
|
|
|
|
public int DayState { get; set; }
|
|
|
|
[NotMapped]
|
|
|
|
public DateTime? BeginTimeEnd { get; set; }
|
|
|
|
|
|
|
|
[NotMapped]
|
|
|
|
public DateTime? BeginTimeStart { get; set; }
|
|
|
|
|
|
|
|
[NotMapped]
|
|
|
|
public DateTime? EndTimeEnd { get; set; }
|
|
|
|
|
|
|
|
[NotMapped]
|
|
|
|
public DateTime? EndTimeStart { get; set; }
|
|
|
|
public String SubSite { get; set; }
|
|
|
|
public String Extend1 { get; set; }
|
|
|
|
public String Extend2 { get; set; }
|
|
|
|
public String Extend3 { get; set; }
|
|
|
|
}
|
|
|
|
}
|