添加项目文件。

This commit is contained in:
2023-03-13 15:00:34 +08:00
parent 42bf06ca3e
commit 1d73df3235
1205 changed files with 185078 additions and 0 deletions

View 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; }
}