使用AutoMapper框架来实现Entities和Modle之间的转换
This commit is contained in:
@@ -2,4 +2,13 @@
|
||||
|
||||
public class User
|
||||
{
|
||||
|
||||
public int Id { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Password { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string PhoneNumber { get; set; }
|
||||
public string Address { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user