Files
kunshan-bzfm-mes-backend/ZR.Model/System/Model/Dto/PhoneLoginDto.cs

30 lines
818 B
C#
Raw Normal View History

2024-11-28 13:36:05 +08:00
using System.ComponentModel.DataAnnotations;
namespace ZR.ServiceCore.Model.Dto
{
public class PhoneLoginDto
{
/// <summary>
/// 验证码
/// </summary>
public string Code { get; set; }
/// <summary>
/// 唯一标识
/// </summary>
public string Uuid { get; set; } = "";
public string LoginIP { get; set; }
[Required(ErrorMessage = "手机号不能为空")]
public string PhoneNum { get; set; }
/// <summary>
/// 手机短信验证码
/// </summary>
//[Required(ErrorMessage = "短信验证码不能为空")]
public string PhoneCode { get; set; }
/// <summary>
/// 0、登录 1、绑定
/// </summary>
public int SendType { get; set; }
}
}