using SqlSugar; namespace PMSWPF.Data.Entities; /// /// 表示数据库中的用户实体。 /// [SugarTable("User")] public class DbUser { /// /// 用户的唯一标识符。 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] //数据库是自增才配自增 public int Id { get; set; } }