DDD 应用层完善

This commit is contained in:
橙子
2023-01-15 14:32:43 +08:00
parent 3bce7de015
commit f1e314fa13
60 changed files with 915 additions and 83 deletions

View File

@@ -4,16 +4,21 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Ddd.Entities;
namespace Yi.Framework.Domain.Student.Entities
{
/// <summary>
/// 实体
/// 学生实体
/// </summary>
[SugarTable("Student")]
public class StudentEntity
public class StudentEntity : IEntity<long>
{
public long Id { get; set; }
/// <summary>
/// 学生名称
/// </summary>
public string Name { get; set; } = string.Empty;
}
}