fix 补充文件

This commit is contained in:
2024-01-08 20:53:41 +08:00
parent bb4c617340
commit 19bbf9a0fd

View File

@@ -0,0 +1,18 @@
using System.ComponentModel.DataAnnotations;
namespace Dlhis.User.Identity.Request;
public class UserAvatarUploadRequest
{
/// <summary>
/// 用户id
/// </summary>
[Range(1, int.MaxValue)]
public int UserId { get; set; }
/// <summary>
/// 图片地址
/// </summary>
[Required(ErrorMessage = "图片地址不能为空")]
public string Picture { get; set; }
}