接管用户 API 支持电话/工号/微信号/微信二维码,新增客户专属顾问查询,并移除仓库客服电话与微信相关字段。 Co-authored-by: Cursor <cursoragent@cursor.com>
49 lines
1.0 KiB
C#
49 lines
1.0 KiB
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Oms.Application.Dtos.Rbac;
|
|
|
|
public class InternalUserListItemDto
|
|
{
|
|
public string Id { get; set; } = string.Empty;
|
|
|
|
public string? Name { get; set; }
|
|
|
|
public string? Account { get; set; }
|
|
|
|
public string? Email { get; set; }
|
|
|
|
public string? Avatar { get; set; }
|
|
|
|
public string? Phone { get; set; }
|
|
|
|
public string? EmployeeNo { get; set; }
|
|
|
|
public string? WechatId { get; set; }
|
|
|
|
public string? OrganizationId { get; set; }
|
|
|
|
public string? OrganizationName { get; set; }
|
|
|
|
public DateTime? CreatedAt { get; set; }
|
|
|
|
public List<InternalUserRoleDto> Roles { get; set; } = [];
|
|
}
|
|
|
|
public class InternalUserRoleDto
|
|
{
|
|
public string Id { get; set; } = string.Empty;
|
|
|
|
public string? Name { get; set; }
|
|
|
|
public string? Code { get; set; }
|
|
}
|
|
|
|
public class InternalUserListResultDto
|
|
{
|
|
[JsonPropertyName("total")]
|
|
public long Total { get; set; }
|
|
|
|
[JsonPropertyName("items")]
|
|
public List<InternalUserListItemDto> Items { get; set; } = [];
|
|
}
|