zhuangpei-mesbackend/DOAN.Model/MES/process/Dto/ProModelRelationDto.cs
2025-11-06 20:28:30 +08:00

48 lines
1.2 KiB
C#

using System.ComponentModel.DataAnnotations;
namespace DOAN.Model.Dto
{
/// <summary>
/// 工艺建模关系表查询对象
/// </summary>
public class ProModelRelationQueryDto : PagerInfo
{
}
/// <summary>
/// 工艺建模关系表输入输出对象
/// </summary>
public class ProModelRelationDto
{
[Required(ErrorMessage = "id不能为空")]
[JsonConverter(typeof(ValueToStringConverter))]
public long Id { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
public long? ProjectId { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
public long? RoutingId { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
public long? ProcessId { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
public long? StepId { get; set; }
public string OperationCode { get; set; }
public DateTime? CreateTime { get; set; }
public string CreateBy { get; set; }
public DateTime? UpdateTime { get; set; }
public string UpdateBy { get; set; }
public string Remark { get; set; }
}
}