using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace CK.SCP.Models.ScpEntity { public partial class V_TS_BARCODE { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public long UID { get; set; } [StringLength(50)] public string BarCode { get; set; } [Required] [StringLength(50)] public string PartCode { get; set; } [Required] [StringLength(50)] public string Batch { get; set; } [Column(TypeName = "money")] public decimal Qty { get; set; } [Required] [StringLength(50)] public string BillNum { get; set; } public int PoBillLine { get; set; } [StringLength(50)] public string VendId { get; set; } [StringLength(50)] public string VendBatch { get; set; } [DisplayName("是否扫描")] public bool IsScanned { get; set; } [DisplayName("是否描述")] public string IsScanned_Desc { get; set; } [Column(TypeName = "money")] public decimal PackQty { get; set; } public string Site { get; set; } [NotMapped] public List UserInVendIds { set; get; } [NotMapped] public List UserInAddress { set; get; } } }