/* *代码由框架生成,任何更改都可能导致被代码生成器覆盖 *如果数据库字段发生变化,请在代码生器重新生成此Model */ 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; using SqlSugar; using VolPro.Entity.SystemModels; namespace VolPro.Entity.DomainModels { [Entity(TableCnName = "测试库",TableName = "TestDb",DBServer = "ServiceDbContext")] public partial class TestDb:ServiceEntity { /// /// /// [SugarColumn(IsPrimaryKey = true)] [Key] [Display(Name ="Id")] [Column(TypeName="uniqueidentifier")] [Editable(true)] [Required(AllowEmptyStrings=false)] public Guid Id { get; set; } /// ///测试库 /// [Display(Name ="测试库")] [MaxLength(100)] [Column(TypeName="varchar(100)")] [Editable(true)] [Required(AllowEmptyStrings=false)] public string TestDbName { get; set; } /// ///内容 /// [Display(Name ="内容")] [MaxLength(100)] [Column(TypeName="varchar(100)")] [Editable(true)] public string TestDbContent { get; set; } /// ///CreateDate /// [Display(Name ="CreateDate")] [Column(TypeName="datetime")] [Editable(true)] public DateTime? CreateDate { get; set; } /// /// /// [Display(Name ="CreateID")] [Column(TypeName="int")] [Editable(true)] public int? CreateID { get; set; } /// ///Creator /// [Display(Name ="Creator")] [MaxLength(30)] [Column(TypeName="varchar(30)")] [Editable(true)] public string Creator { get; set; } /// ///Modifier /// [Display(Name ="Modifier")] [MaxLength(30)] [Column(TypeName="varchar(30)")] [Editable(true)] public string Modifier { get; set; } /// ///ModifyDate /// [Display(Name ="ModifyDate")] [Column(TypeName="datetime")] [Editable(true)] public DateTime? ModifyDate { get; set; } /// /// /// [Display(Name ="ModifyID")] [Column(TypeName="int")] [Editable(true)] public int? ModifyID { get; set; } } }