添加项目文件。
This commit is contained in:
25
system/Tnb.OAuth/Dto/LockScreenInput.cs
Normal file
25
system/Tnb.OAuth/Dto/LockScreenInput.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using JNPF.DependencyInjection;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace JNPF.OAuth.Dto;
|
||||
|
||||
/// <summary>
|
||||
/// 锁屏解锁输入参数.
|
||||
/// </summary>
|
||||
[SuppressSniffer]
|
||||
public class LockScreenInput
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户名.
|
||||
/// </summary>
|
||||
/// <example>admin</example>
|
||||
[Required(ErrorMessage = "用户名不能为空")]
|
||||
public string? account { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 密码.
|
||||
/// </summary>
|
||||
/// <example>e10adc3949ba59abbe56e057f20f883e</example>
|
||||
[Required(ErrorMessage = "密码不能为空")]
|
||||
public string? password { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user