namespace iWareSql.MyDbContext { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; public partial class ware_old_material { [DatabaseGenerated(DatabaseGeneratedOption.None)] public long Id { get; set; } [Required] [StringLength(50)] public string MaterialCode { get; set; } [StringLength(50)] public string MaterialName { get; set; } public int Quantity { get; set; } [StringLength(50)] public string Unit { get; set; } [StringLength(50)] public string Category { get; set; } [StringLength(50)] public string MaterialTypeId { get; set; } public DateTimeOffset? CreatedTime { get; set; } public DateTimeOffset? UpdatedTime { get; set; } public long? CreatedUserId { get; set; } [StringLength(20)] public string CreatedUserName { get; set; } public long? UpdatedUserId { get; set; } [StringLength(20)] public string UpdatedUserName { get; set; } public bool? IsDeleted { get; set; } [Required] [StringLength(50)] public string LocationCode { get; set; } public int? UseQuantity { get; set; } } }