namespace iWareSql.MyDbContext { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("SerialRuleDetail")] public partial class SerialRuleDetail { [DatabaseGenerated(DatabaseGeneratedOption.None)] public long Id { get; set; } [Required] [StringLength(50)] public string SerialRuleNo { get; set; } public int SerialType { get; set; } public int ItemNo { get; set; } [Required] [StringLength(50)] public string SourceType { get; set; } public int SerialLength { get; set; } public int? SearchStart { get; set; } public int? DecimalType { get; set; } [StringLength(50)] public string UserDefine { get; set; } public int? SerialCodeFlag { get; set; } [StringLength(250)] public string Description { get; set; } public string SerialTypeNo { get; set; } public int? GetData { get; set; } public int PadLeft { get; set; } public int? IssueStatus { get; set; } public DateTimeOffset? CreatedTime { get; set; } public DateTimeOffset? UpdatedTime { get; set; } public long? CreatedUserId { get; set; } [StringLength(50)] public string CreatedUserName { get; set; } public long? UpdatedUserId { get; set; } [StringLength(50)] public string UpdatedUserName { get; set; } public bool IsDeleted { get; set; } } }