refactor 优化命名和结构,注释
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user