first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
using F9WebAiTest.Domain.Common;
|
||||
|
||||
namespace F9WebAiTest.Domain.Entities;
|
||||
|
||||
/// <summary>部门(树形结构)</summary>
|
||||
[Table(Name = "Departments")]
|
||||
public class Department : BaseEntity
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Code { get; set; } = ""; // 部门编码
|
||||
public long? ParentId { get; set; }
|
||||
public long? LeaderId { get; set; }
|
||||
public string Phone { get; set; } = "";
|
||||
public int Sort { get; set; }
|
||||
public int Status { get; set; } = 1; // 1 启用 0 禁用
|
||||
}
|
||||
Reference in New Issue
Block a user