blob: 9bc6f5e5bcdb35d8d02dcd5f4cbfcf8fe5faf5a1 (
plain)
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
|
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Timeline.Entities
{
[Table("user_details")]
public class UserDetailEntity
{
[Column("id"), Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
[Column("qq"), MaxLength(15)]
public string QQ { get; set; }
[Column("email"), MaxLength(50)]
public string EMail { get; set; }
[Column("phone_number"), MaxLength(15)]
public string PhoneNumber { get; set; }
[Column("description")]
public string Description { get; set; }
public long UserId { get; set; }
}
}
|