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; }
|
}
|
}
|