TeamMemberGetOutputDto.cs 1.11 KB
namespace FoodLabeling.Application.Contracts.Dtos.TeamMember;

public class TeamMemberGetOutputDto
{
    public Guid Id { get; set; }

    public string FullName { get; set; } = string.Empty;

    public string UserName { get; set; } = string.Empty;

    public string? Email { get; set; }

    public long? Phone { get; set; }

    public bool State { get; set; }

    public Guid? RoleId { get; set; }

    /// <summary>适用 Company Id(多选,由绑定门店反推)</summary>
    public List<string> PartnerIds { get; set; } = new();

    /// <summary>适用 Region Id(多选,<c>fl_group.Id</c>;覆盖该公司全部 Region 时回显 <c>["ALL"]</c>)</summary>
    public List<string> RegionIds { get; set; } = new();

    /// <summary>与 <see cref="RegionIds"/> 相同</summary>
    public List<string> GroupIds { get; set; } = new();

    /// <summary>绑定门店 Id;覆盖该公司全部门店时回显 <c>["ALL"]</c>(库中仍存展开 Guid)</summary>
    public List<string> LocationIds { get; set; } = new();

    public List<TeamMemberAssignedLocationDto> AssignedLocations { get; set; } = new();
}