pan
2025-11-30 f8ec9168ceb7883853381ff0c409e1222b62b634
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
 
namespace WIDESEA_DTO.Mes
{
    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="T"></typeparam>
    [ModelValidate]
    public class MesResponse<T>
    {
       public string reqCode {  get; set; }=Guid.NewGuid().ToString();
 
        public string reqTime { get; set; } = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
 
        public int operationType { get; set; } = 1;
 
        [PropertyValidate("内容", NotNullAndEmpty = true)]
        public T Content { get; set; }
    }
}