| | |
| | | using LifePayment.Domain.Shared; |
| | | using System; |
| | | using System.ComponentModel; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using ZeroD.Util; |
| | | |
| | | namespace LifePayment.Application.Contracts |
| | | { |
| | |
| | | [Required(ErrorMessage = "{0}不能为空")] |
| | | [RegularExpression(LifePaymentConstant.RegularExpression.PhoneNumberRegEx, ErrorMessage = "{0}格式错误")] |
| | | public string PhoneNumber { get; set; } |
| | | } |
| | | |
| | | public class LifePayUserMesssageByIduserInput : ChannelsBaseInput |
| | | { |
| | | /// <summary> |
| | | /// 用户编号 |
| | | /// </summary> |
| | | [DisplayName("用户编号")] |
| | | public Guid Id { get; set; } |
| | | } |
| | | |
| | | public class WxMiniAppIndentityInfo |
| | |
| | | /// </summary> |
| | | public string UnionId { get; set; } |
| | | } |
| | | |
| | | public class CreateAccountInput |
| | | { |
| | | /// <summary> |
| | | /// 名称 |
| | | /// </summary> |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 密码 |
| | | /// </summary> |
| | | public string Password { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 用户名 |
| | | /// </summary> |
| | | //[RegularExpression(LifePaymentConstant.RegularExpression.UserNameEx, ErrorMessage = "账号格式不正确")] |
| | | public string UserName { get; set; } |
| | | /// <summary> |
| | | /// 备注 |
| | | /// </summary> |
| | | public string Remark { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 手机号 |
| | | /// </summary> |
| | | public string PhoneNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 用户端Id |
| | | /// </summary> |
| | | public string ClientId { get; set; } = Constant.ClientType.Back; |
| | | |
| | | /// <summary> |
| | | /// 角色 |
| | | /// </summary> |
| | | public string[] RoleNames { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 渠道列表 |
| | | /// </summary> |
| | | public string[] ChannlesId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 小程序OpenId |
| | | /// </summary> |
| | | public string OpenId { get; set; } |
| | | |
| | | ///// <summary> |
| | | ///// 联系人 |
| | | ///// </summary> |
| | | // public string Contact { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 企业名称 |
| | | /// </summary> |
| | | public string EnterpriseName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 企业类型 |
| | | /// </summary> |
| | | public EnterpriseTypeEnum? AuthType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// MatchMaking小程序OpenId |
| | | /// </summary> |
| | | public string MatchMakingOpenId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 组织架构公司id |
| | | /// </summary> |
| | | public Guid? CompanyOrgId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 组织架构部门id |
| | | /// </summary> |
| | | public Guid? DepartmentOrgId { get; set; } |
| | | } |
| | | |
| | | } |