64 lines
1.5 KiB
C#
Raw Normal View History

2025-11-20 14:44:46 +08:00
using System.ComponentModel.DataAnnotations;
namespace MDM.Model.Process.Dto
{
/// <summary>
/// 工艺路线查询对象
/// </summary>
public class ProcessRoutingQueryDto : PagerInfo
{
2025-11-20 16:39:34 +08:00
public string? FkProductMaterialCode { get; set; }
public string? RoutingCode { get; set; }
2025-11-20 14:44:46 +08:00
2025-11-20 16:39:34 +08:00
public string? RoutingName { get; set; }
2025-11-20 14:44:46 +08:00
public int? Version { get; set; }
public int? Status { get; set; }
}
/// <summary>
/// 工艺路线输入输出对象
/// </summary>
public class ProcessRoutingDto
{
[Required(ErrorMessage = "id不能为空")]
public int RoutingId { get; set; }
public string FkProductMaterialCode { get; set; }
[Required(ErrorMessage = "工艺路线code不能为空")]
public string RoutingCode { get; set; }
public string RoutingName { get; set; }
public int? Version { get; set; }
public string Description { get; set; }
public int? Status { get; set; }
public DateTime? EffectiveDate { get; set; }
public string CreatedBy { get; set; }
public DateTime? CreatedTime { get; set; }
public string UpdatedBy { get; set; }
public DateTime? UpdatedTime { get; set; }
}
2025-11-25 09:41:20 +08:00
//下拉列表用
public class ProcessRoutingPullDownDto()
{
// 对应前端的value
public string value { get; set; }
// 对应前端的label
public string label { get; set; }
}
2025-11-20 14:44:46 +08:00
}