65 lines
1.5 KiB
C#
Raw Normal View History

2025-11-06 20:28:30 +08:00
using System.ComponentModel.DataAnnotations;
namespace DOAN.Model.Dto
{
/// <summary>
/// 工艺建模工艺路线表查询对象
/// </summary>
public class ProModelRoutingQueryDto : PagerInfo
{
public string RoutingCode { get; set; }
public string RoutingName { get; set; }
public string ProjectName { get; set; }
public string Version { get; set; }
}
/// <summary>
/// 工艺建模工艺路线表输入输出对象
/// </summary>
public class ProModelRoutingDto
{
[Required(ErrorMessage = "id不能为空")]
[JsonConverter(typeof(ValueToStringConverter))]
public long Id { get; set; }
public string RoutingCode { get; set; }
public string RoutingName { get; set; }
public long? ProjectId { get; set; }
[JsonConverter(typeof(ValueToStringConverter))]
public string Description { get; set; }
public string IsActive { 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; }
2025-11-14 16:56:53 +08:00
}
/// <summary>
/// 获取产品项目表
/// </summary>
public class ProjectListDto
{
public long Id { get; set; }
2025-11-06 20:28:30 +08:00
2025-11-14 16:56:53 +08:00
public string ProjectCode { get; set; }
2025-11-06 20:28:30 +08:00
2025-11-14 16:56:53 +08:00
public string ProjectName { get; set; }
2025-11-06 20:28:30 +08:00
}
}