Blame view

美国版/Food Labeling Management Code/Yi.Abp.Net8/module/food-labeling-us/FoodLabeling.Application.Contracts/Dtos/TeamMember/TeamMemberCreateInputVo.cs 1.46 KB
dbc9750f   李曜臣   成员模块实现
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  namespace FoodLabeling.Application.Contracts.Dtos.TeamMember;
  
  public class TeamMemberCreateInputVo
  {
      public string FullName { get; set; } = string.Empty;
  
      /// <summary>
      /// 登录账号(建议用邮箱或自定义用户名)
      /// </summary>
      public string UserName { get; set; } = string.Empty;
  
      public string Password { get; set; } = string.Empty;
  
      public string? Email { get; set; }
  
      public long? Phone { get; set; }
  
      public Guid? RoleId { get; set; }
  
      /// <summary>
10fd1324   李曜臣   5-17接口优化
21
      /// 适用 Company<c>fl_partner.Id</c>UI  Company);与 <see cref="PartnerIds"/> 合并
dbc9750f   李曜臣   成员模块实现
22
      /// </summary>
10fd1324   李曜臣   5-17接口优化
23
24
25
26
27
28
29
30
      public string? PartnerId { get; set; }
  
      /// <summary>
      /// 适用 Company 多选(<c>fl_partner.Id</c>
      /// </summary>
      public List<string>? PartnerIds { get; set; }
  
      /// <summary>
14afbc16   李曜臣   2026-6-22
31
      /// 适用 Region 多选(<c>fl_group.Id</c>);Company Admin 仅传 Company 时可省略,后端自动绑定该公司下全部 Region 与门店
10fd1324   李曜臣   5-17接口优化
32
33
34
35
36
37
38
39
40
      /// </summary>
      public List<string>? RegionIds { get; set; }
  
      /// <summary>
      /// 适用 Region 多选(与 <see cref="RegionIds"/> 相同)
      /// </summary>
      public List<string>? GroupIds { get; set; }
  
      /// <summary>
14afbc16   李曜臣   2026-6-22
41
      /// 适用门店多选(<c>location.Id</c>);Company Admin 仅传 Company 时可省略,与 Region 合并后写入 <c>userlocation</c>
10fd1324   李曜臣   5-17接口优化
42
43
      /// </summary>
      public List<string>? LocationIds { get; set; }
dbc9750f   李曜臣   成员模块实现
44
45
46
  
      public bool State { get; set; } = true;
  }