TeamMemberUpdateInputVo.cs
1.6 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
namespace FoodLabeling.Application.Contracts.Dtos.TeamMember;
public class TeamMemberUpdateInputVo
{
public string FullName { get; set; } = string.Empty;
public string UserName { get; set; } = string.Empty;
/// <summary>
/// 为空表示不改密码
/// </summary>
public string? Password { get; set; }
public string? Email { get; set; }
public long? Phone { get; set; }
public Guid? RoleId { get; set; }
/// <summary>
/// 适用 Company(<c>fl_partner.Id</c>);与 <see cref="PartnerIds"/> 合并
/// </summary>
public string? PartnerId { get; set; }
/// <summary>
/// 适用 Company 多选(<c>fl_partner.Id</c>)
/// </summary>
public List<string>? PartnerIds { get; set; }
/// <summary>
/// 适用 Region 多选(<c>fl_group.Id</c>);可含 <c>ALL</c> 哨兵(大小写不敏感,与具体 Guid 同传时以 ALL 为准)。
/// </summary>
public List<string>? RegionIds { get; set; }
/// <summary>
/// 适用 Region 多选(与 <see cref="RegionIds"/> 相同);可含 <c>ALL</c>。
/// </summary>
public List<string>? GroupIds { get; set; }
/// <summary>
/// 适用门店多选(<c>location.Id</c>);可含 <c>ALL</c> 哨兵,按 Company 展开全部门店落库。
/// </summary>
public List<string>? LocationIds { get; set; }
/// <summary>
/// 适用门店多选别名(与 <see cref="LocationIds"/> 合并解析);可含 <c>ALL</c> 或门店 Guid。
/// </summary>
public List<string>? Locations { get; set; }
public bool State { get; set; } = true;
}