using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Yi.Framework.Data.Entities; using Yi.Framework.Ddd.Entities; namespace Yi.Framework.Domain.Student.Entities { /// /// 学生实体 /// [SugarTable("Student")] public class StudentEntity : IEntity, ISoftDelete { [SugarColumn(IsPrimaryKey = true)] public long Id { get; set; } /// /// 学生名称 /// public string Name { get; set; } = string.Empty; /// /// 学号 /// public long Number { get;set ; } /// /// 软删除 /// public bool IsDeleted { get; set; } } }