Files
Yi.Admin/Yi.Framework.Net6/Yi.Framework.Model/RABC/Entitys/StudentEntity.cs

20 lines
490 B
C#
Raw Normal View History

2023-01-01 23:51:05 +08:00
using SqlSugar;
using System;
using Yi.Framework.Model.Base;
namespace Yi.Framework.Model.RABC.Entitys
{
[SugarTable("Student")]
public class StudentEntity : IEntity<Guid>, IMultiTenant
{
2023-01-05 20:32:58 +08:00
public string? Name { get; set; }
public string? Remark { get; set; }
2023-01-01 23:51:05 +08:00
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
public Guid Id { get; set; }
[SugarColumn(ColumnName = "TenantId")]
public Guid? TenantId { get; set; }
}
}