SysUser.cs
1.34 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
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace WebRepository
{
/// <summary>
/// 用户表
/// </summary>
[Table("sys_user")]
public partial class SysUser : SysEntity
{
public SysUser()
{
}
/// <summary>
/// 账号
/// </summary>
[Column("account")]
public string Account { get; set; }
/// <summary>
/// 密码
/// </summary>
[Column("password")]
public string Password { get; set; }
/// <summary>
/// 用户名
/// </summary>
[Column("name")]
public string Name { get; set; }
/// <summary>
/// 性别
/// </summary>
[Column("sex")]
public bool? Sex { get; set; }
/// <summary>
/// 状态
/// </summary>
[Column("status")]
public bool? Status { get; set; }
/// <summary>
/// 有效期
/// </summary>
[Column("expirydate")]
public DateTime? Expirydate { get; set; }
/// <summary>
/// 是否已分配角色
/// </summary>
[Column("isAssignRole")]
public bool? IsAssignRole { get; set; }
/// <summary>
/// 是否已分配模块
/// </summary>
[Column("isAssignModule")]
public bool? IsAssignModule { get; set; }
}
}