54 lines
1.3 KiB
C#
54 lines
1.3 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace MDM.Model.Process.Dto
|
|
{
|
|
/// <summary>
|
|
/// 工艺路线查询对象
|
|
/// </summary>
|
|
public class ProcessRoutingQueryDto : PagerInfo
|
|
{
|
|
public string? FkProductMaterialCode { get; set; }
|
|
public string? RoutingCode { get; set; }
|
|
|
|
public string? RoutingName { get; set; }
|
|
|
|
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; }
|
|
|
|
|
|
|
|
}
|
|
} |