Department.cs
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
using FreeSql.DataAnnotations;
using System.ComponentModel.DataAnnotations;
namespace HHECS.WorkHourStatistics.Models
{
/// <summary>
/// 部门
/// </summary>
public class Department
{
/// <summary>
/// 主键ID
/// </summary>
[Key]
[Column(IsPrimary = true)]
public string Id { get; set; } = null!;
/// <summary>
/// 组织类型(department 代表部门,company 代表是单位)
/// </summary>
public string TypeFlag { get; set; } = null!;
/// <summary>
/// 父部门ID
/// </summary>
public string ParentId { get; set; } = null!;
/// <summary>
/// 排序号
/// </summary>
public string OrderNum { get; set; } = null!;
/// <summary>
/// 部门名称
/// </summary>
public string Name { get; set; } = null!;
/// <summary>
/// 部门编码
/// </summary>
public string OrgCode { get; set; } = null!;
/// <summary>
/// 状态。启用:0,停用:-3
/// </summary>
public int State { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public string CreateTime { get; set; } = null!;
/// <summary>
/// 修改时间
/// </summary>
public string ModifyTime { get; set; } = null!;
}
}