|
|
|
using System;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
|
namespace CK.SCP.Models.ScpEntity
|
|
|
|
{
|
|
|
|
public partial class TB_RECEIVE_DETAIL_QAD
|
|
|
|
{
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
public long UID { get; set; }
|
|
|
|
[StringLength(50)]
|
|
|
|
|
|
|
|
public string RecvBillNum { get; set; }
|
|
|
|
[Key]
|
|
|
|
[Column(Order = 1)]
|
|
|
|
[StringLength(50)]
|
|
|
|
public string PoBillNum { get; set; }
|
|
|
|
[Key]
|
|
|
|
[Column(Order = 2)]
|
|
|
|
public int PoLine { get; set; }
|
|
|
|
[Key]
|
|
|
|
[Column(Order = 3)]
|
|
|
|
[StringLength(50)]
|
|
|
|
public string PartCode { get; set; }
|
|
|
|
[StringLength(50)]
|
|
|
|
public string Batch { get; set; }
|
|
|
|
public decimal Qty { get; set; }
|
|
|
|
[StringLength(50)]
|
|
|
|
public string DockCode { get; set; }
|
|
|
|
public int State { get; set; }
|
|
|
|
[StringLength(500)]
|
|
|
|
public string Remark { get; set; }
|
|
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
[StringLength(50)]
|
|
|
|
public string CreateUser { get; set; }
|
|
|
|
public bool IsDeleted { get; set; }
|
|
|
|
|
|
|
|
public Guid GUID { get; set; }
|
|
|
|
|
|
|
|
public int BillType { get; set; }
|
|
|
|
[StringLength(50)]
|
|
|
|
public string VendBatch { get; set; }
|
|
|
|
[StringLength(50)]
|
|
|
|
public string PoUnit { get; set; }
|
|
|
|
[StringLength(50)]
|
|
|
|
public string LocUnit { get; set; }
|
|
|
|
[Key]
|
|
|
|
[Column(Order = 0)]
|
|
|
|
public string ErpRecvBillNum { get; set; }
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// �ɹ���
|
|
|
|
/// </summary>
|
|
|
|
public decimal? PurCost { get; set; }
|
|
|
|
/// <summary>
|
|
|
|
/// �ɱ���
|
|
|
|
/// </summary>
|
|
|
|
public decimal? StdCost { get; set; }
|
|
|
|
[Key]
|
|
|
|
[Column(Order = 4)]
|
|
|
|
public string Site { get; set; }
|
|
|
|
|
|
|
|
public decimal? Rate { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public decimal? CurAmt { get; set; }
|
|
|
|
|
|
|
|
public string Tax { get; set; }
|
|
|
|
public string Extend1 { get; set; }
|
|
|
|
public string Extend2 { get; set; }
|
|
|
|
public string Extend3 { get; set; }
|
|
|
|
|
|
|
|
public string SubSite { get; set; }
|
|
|
|
}
|
|
|
|
}
|