using System; using System.ComponentModel; using Ewide.Core; using SqlSugar; namespace Vote.Services.Entities; [SqlSugar.SugarTable] [Serializable] public class userscores20250801 : DEntityBase { public userscores20250801() { this.No = 0; this.Title = ""; this.Postion = ""; this.Name = ""; } /// /// /// [Description("")] public int? No { get; set; } /// /// /// [Description("")] public string Title { get; set; } /// /// /// [Description("")] public string Postion { get; set; } /// /// /// [Description("")] public string Name { get; set; } public string scoresjson { get; set; } public decimal? finalscore { get; set; } /// /// 创建默认的主键值 /// 当构造函数执行时如果Id为空,则会自动执行该函数 /// public void GenerateDefaultKeyVal() { Id = Ulid.NewUlid().ToString(); // Guid.NewGuid().ToString(); } }