Merge pull request 'main' (#32) from main into feature-nxdev

Reviewed-on: #32
This commit is contained in:
2025-12-29 21:57:33 +08:00
committed by nanxun
16 changed files with 780 additions and 268 deletions
+6 -1
View File
@@ -1,10 +1,15 @@
namespace IM_API.Dtos
using System.ComponentModel.DataAnnotations;
namespace IM_API.Dtos
{
public class FriendRequestDto
{
public int FromUserId { get; set; }
public int ToUserId { get; set; }
[Required(ErrorMessage = "备注名必填")]
[StringLength(20, ErrorMessage = "备注名不能超过20位字符")]
public string? RemarkName { get; set; }
[StringLength(50, ErrorMessage = "描述不能超过50字符")]
public string? Description { get; set; }
}
}