namespace FoodLabeling.Application.Contracts.Dtos.TeamMember;
public class TeamMemberCreateInputVo
{
public string FullName { get; set; } = string.Empty;
///
/// 登录账号(建议用邮箱或自定义用户名)
///
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; }
///
/// 适用 Company(fl_partner.Id,UI 称 Company);与 合并
///
public string? PartnerId { get; set; }
///
/// 适用 Company 多选(fl_partner.Id)
///
public List? PartnerIds { get; set; }
///
/// 适用 Region 多选(fl_group.Id);可含 ALL 哨兵(大小写不敏感,与具体 Guid 同传时以 ALL 为准)。
/// Company Admin 仅传 Company 时可省略;locationIds 为空且含 ALL 时展开该公司全部 Region 下门店。
///
public List? RegionIds { get; set; }
///
/// 适用 Region 多选(与 相同);可含 ALL。
///
public List? GroupIds { get; set; }
///
/// 适用门店多选(location.Id);可含 ALL 哨兵,按 / 展开该公司全部门店落库。
/// Company Admin 仅传 Company 时可省略。
///
public List? LocationIds { get; set; }
///
/// 适用门店多选别名(与 合并解析);可含 ALL 或门店 Guid。
///
public List? Locations { get; set; }
public bool State { get; set; } = true;
}