Files
Api/DouyinApi.Model/Models/Department.cs
2025-11-04 21:09:16 +08:00

83 lines
2.2 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using SqlSugar;
using System;
namespace DouyinApi.Model.Models
{
///<summary>
/// 部门表
///</summary>
public class Department : DepartmentRoot<long>
{
/// <summary>
/// Desc:部门关系编码
/// Default:
/// Nullable:True
/// </summary>
public string CodeRelationship { get; set; }
/// <summary>
/// Desc:部门名称
/// Default:
/// Nullable:True
/// </summary>
public string Name { get; set; }
/// <summary>
/// Desc:负责人
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(IsNullable = true)]
public string Leader { get; set; }
/// <summary>
/// Desc:排序
/// Default:
/// Nullable:True
/// </summary>
public int OrderSort { get; set; } = 0;
/// <summary>
/// Desc:部门状态0正常 1停用
/// Default:0
/// Nullable:True
/// </summary>
public bool Status { get; set; } = false;
/// <summary>
/// Desc:删除标志0代表存在 2代表删除
/// Default:0
/// Nullable:True
/// </summary>
public bool IsDeleted { get; set; } = false;
/// <summary>
/// Desc:创建者
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(IsNullable = true)]
public string CreateBy { get; set; }
/// <summary>
/// Desc:创建时间
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? CreateTime { get; set; }
/// <summary>
/// Desc:更新者
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(IsNullable = true)]
public string ModifyBy { get; set; }
/// <summary>
/// Desc:更新时间
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? ModifyTime { get; set; }
[SugarColumn(IsIgnore = true)]
public bool hasChildren { get; set; } = true;
}
}