blob: 4211297dc23b2d438e087e3af54fe9f7028c73ad (
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
27
28
29
30
31
32
33
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tango.BL.DTO
{
public class UserDTO : UserDTOBase
{
public AddressDTO Address { get; set; }
public ContactDTO Contact { get; set; }
public List<UsersRoleDTO> UsersRoles { get; set; }
public UserDTO()
{
UsersRoles = new List<UsersRoleDTO>();
}
protected override bool OnShouldActionLogIgnore(string propName)
{
return propName == nameof(UserDTO.LastLogin);
}
protected override string OnGetActionLogName()
{
return $"User '{Email}'";
}
}
}
|