refactor 优化命名和结构,注释

This commit is contained in:
2025-06-30 14:20:26 +08:00
parent 6fd0a2b1ef
commit 221d985850
24 changed files with 368 additions and 205 deletions

View File

@@ -0,0 +1,18 @@
using System.ComponentModel.DataAnnotations;
namespace Dlhis.Basic.Common.Message.Requests;
public class DingTalkWorkMessageRequest
{
/// <summary>
/// 工号
/// </summary>
[MinLength(1, ErrorMessage = "{0}不能为空")]
public List<string> WorkCodes { get; set; }
/// <summary>
/// 发送内容
/// </summary>
[Required(ErrorMessage = "{0}不能为空")]
public string Content { get; set; }
}