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
{
    public class V_TB_QUALITY:RecordEntity
    {
        [Key]
        public long UID { get; set; }
        public string Type { get; set; }

        public string Type_Desc { get; set; }
        public string Barcode { get; set; }
        public string Loccode { get; set; }
        public string Pobillnum { get; set; }
        public decimal Poline { get; set; }
        public string Inspecttype { get; set; }
        public string Partcode { get; set; }
        public string Batch { get; set; }
        public decimal ReceiveQty { get; set; }
        public Nullable<decimal> SampleQty { get; set; }
        public Nullable<decimal> Inspqty { get; set; }
        public Nullable<decimal> Passqty { get; set; }
        public Nullable<decimal> Failqty { get; set; }
        public Nullable<decimal> Crackqty { get; set; }
        public string Inspresult { get; set; }
        public string Failreason { get; set; }
        public string Vendid { get; set; }
        public string Vendbatch { get; set; }
        public string state { get; set; }
        public Nullable<System.DateTime> Billtime { get; set; }
        public string Domain { get; set; }
        public string Site { get; set; }
        public string By1 { get; set; }
        public string By2 { get; set; }
        public string By3 { get; set; }
        public string PartDesc1 { get; set; }
        public string PartDesc2 { get; set; }
        public string ProjectId { get; set; }
        public Nullable<int> ValidityDays { get; set; }
        public string ReceivePort { get; set; }
        public Nullable<bool> Ischeck { get; set; }
        public string Qlevel { get; set; }

        public string QualityNo { get; set; }
        public string VendName { get; set; }
        [NotMapped]
        public DateTime? BeginTime { get; set; }
        [NotMapped]
        public DateTime? EndTime { get; set; }
     



    }
}