forked from lovachen/FastNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSys_User.cs
37 lines (36 loc) · 1.18 KB
/
Sys_User.cs
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
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace AiBao.Entities
{
public partial class Sys_User
{
public Guid Id { get; set; }
[Required]
[StringLength(50)]
public string Account { get; set; }
[Required]
[StringLength(10)]
public string Name { get; set; }
[StringLength(512)]
public string Password { get; set; }
[StringLength(256)]
public string Salt { get; set; }
public bool IsAdmin { get; set; }
[Column(TypeName = "datetime")]
public DateTime CreationTime { get; set; }
[StringLength(50)]
public string LastIpAddress { get; set; }
[Column(TypeName = "datetime")]
public DateTime? LastActivityTime { get; set; }
public bool IsDeleted { get; set; }
[Column(TypeName = "datetime")]
public DateTime? DeletedTime { get; set; }
public Guid? Creator { get; set; }
[StringLength(256)]
public string Email { get; set; }
[StringLength(50)]
public string MobilePhone { get; set; }
}
}