copy from FlexJobApi.Core/Models/UserServer/Auths/Commands/BindPhoneNumberCommand.cs
copy to FlexJobApi.Core/Models/UserServer/Auths/Commands/RegisterPersonalUserCommand.cs
File was copied from FlexJobApi.Core/Models/UserServer/Auths/Commands/BindPhoneNumberCommand.cs |
| | |
| | | using MediatR; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel.DataAnnotations; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | |
| | | namespace FlexJobApi.Core |
| | | { |
| | | /// <summary> |
| | | /// 绑定手机号 |
| | | /// 注册个人账号 |
| | | /// </summary> |
| | | [Resource([EnumResourceController.Auth])] |
| | | public class BindPhoneNumberCommand : IRequest<bool> |
| | | [Resource([EnumResourceController.Auth], AllowAnonymous = true)] |
| | | public class RegisterPersonalUserCommand : IRequest<bool> |
| | | { |
| | | /// <summary> |
| | | /// 手机号码 |
| | | /// </summary> |
| | | [Required] |
| | | public string PhoneNumber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 验证码 |
| | | /// </summary> |
| | | [Required] |
| | | public string VerifyCode { get; set; } |
| | | } |
| | | } |