| | |
| | | using System; |
| | | using LifePayment.Domain.Shared; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using ZeroD.Util; |
| | | |
| | | namespace LifePayment.Application.Contracts |
| | |
| | | public string PhoneNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 密码 |
| | | /// </summary> |
| | | public string Password { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 账户 |
| | | /// </summary> |
| | | //[RegularExpression(LifePaymentConstant.RegularExpression.UserNameEx, ErrorMessage = "账号格式不正确")] |
| | | public string UserName { get; set; } |
| | | |
| | | public string Remark { get; set; } |
| | |
| | | /// 角色 |
| | | /// </summary> |
| | | public string[] RoleNames { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 渠道列表 |
| | | /// </summary> |
| | | public string[] ChannlesId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 组织架构公司id |
| | |
| | | /// 备注 |
| | | /// </summary> |
| | | public string Remark { get; set; } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 重置密码基础输入参数 |
| | | /// </summary> |
| | | public class ResetPasswordBaseInput |
| | | { |
| | | public Guid UserId { get; set; } |
| | | |
| | | public string? Password { get; set; } |
| | | } |
| | | |
| | | public class UpdateBackClientUserInput : CreateBackClientUserInput |
| | |
| | | /// 角色信息 |
| | | /// </summary> |
| | | public IEnumerable<RoleDto> Roles { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 角色信息 |
| | | /// </summary> |
| | | public IEnumerable<UserChannleDto> Channles { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 备注 |
| | |
| | | public string Remark { get; set; } |
| | | } |
| | | |
| | | public class UserChannleDto |
| | | { |
| | | /// <summary> |
| | | /// 渠道Id |
| | | /// </summary> |
| | | public Guid Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 渠道名 |
| | | /// </summary> |
| | | public string Name { get; set; } |
| | | } |
| | | |
| | | public class GetRolesInput : PageInput |
| | | { |
| | | /// <summary> |