namespace yunneiWCS.ORM { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("VproductStock")] public partial class VproductStock { [Key] [Column(Order = 0)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public long stockId { get; set; } [StringLength(10)] public string positionName { get; set; } public bool? isLock { get; set; } public bool? isfree { get; set; } [StringLength(50)] public string materialCode { get; set; } [StringLength(50)] public string materialName { get; set; } public int? quantity { get; set; } public int? taskType { get; set; } public int? status { get; set; } public DateTime? createTime { get; set; } public DateTime? updateTime { get; set; } public bool? enable { get; set; } [Key] [Column(Order = 1)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public long positionId { get; set; } [Key] [Column(Order = 2)] [DatabaseGenerated(DatabaseGeneratedOption.None)] public long materialId { get; set; } [StringLength(50)] public string productCode { get; set; } [StringLength(50)] public string containerCode { get; set; } public byte? positionType { get; set; } [StringLength(50)] public string supplier { get; set; } [StringLength(50)] public string version { get; set; } } }