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 V_TB_ASK_DETAIL_PACKAGE
        {
        [Key]
            public long UID { get; set; }
            public string PoBillNum { get; set; }
            public int PoLine { get; set; }
            public string PartCode { get; set; }
            public decimal ReceivedQty { get; set; }
            public Nullable<System.DateTime> BeginTime { get; set; }
            public Nullable<System.DateTime> EndTime { get; set; }
            public string PoUnit { get; set; }
            public string LocUnit { get; set; }
            public decimal Price { get; set; }
            public string Currency { get; set; }
            public Nullable<decimal> PackQty { get; set; }
            public decimal UnConv { get; set; }
            public string DockCode { get; set; }
            public string Remark { get; set; }
            public System.DateTime CreateTime { get; set; }
            public string CreateUser { get; set; }
            public Nullable<System.DateTime> UpdateTime { get; set; }
            public string UpdateUser { get; set; }
            public string UpdateInfo { get; set; }
            public bool IsDeleted { get; set; }
            public System.Guid GUID { get; set; }
            public string PartDesc1 { get; set; }
            public string CurrencyDesc { get; set; }
            public string Site { get; set; }
            public string VendName { get; set; }
            public string PartDesc2 { get; set; }
            public string AskBillNum { get; set; }
            public decimal AskQty { get; set; }
            public string VendId { get; set; }
            public string ReceivedPort { get; set; }
            public string ReceivedPort_Desc { get; set; }
            public Nullable<decimal> ReduceQty { get; set; }
            public int ValidityDays { get; set; }
            public Nullable<int> State { get; set; }
            public Nullable<decimal> MinPackQty { get; set; }
            public Nullable<decimal> PalletPackQty { get; set; }
            [NotMapped]
            public string Batch { set; get; }
            [NotMapped]
            public DateTime ProduceDate { set; get; }
            [NotMapped]
            public decimal? Qty { set; get; }


    }
}