53 lines
1.2 KiB
C#
53 lines
1.2 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace MDM.Model.Plant.Dto
|
|
{
|
|
/// <summary>
|
|
/// 产线/线体/工作中心查询对象
|
|
/// </summary>
|
|
public class PlantProductlinebodyQueryDto : PagerInfo
|
|
{
|
|
public string FkFactorySiteCode { get; set; }
|
|
|
|
public string FkWorkshopCode { get; set; }
|
|
|
|
|
|
public string LineCode { get; set; }
|
|
|
|
public string LineName { get; set; }
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 产线/线体/工作中心输入输出对象
|
|
/// </summary>
|
|
public class PlantProductlinebodyDto
|
|
{
|
|
[Required(ErrorMessage = "产线id不能为空")]
|
|
public int LineId { get; set; }
|
|
|
|
public string FkFactorySiteCode { get; set; }
|
|
|
|
public string FkWorkshopCode { get; set; }
|
|
|
|
[Required(ErrorMessage = "产线code不能为空")]
|
|
public string LineCode { get; set; }
|
|
|
|
public string LineName { get; set; }
|
|
|
|
public string LineType { get; set; }
|
|
|
|
public string Description { get; set; }
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
|
|
}
|
|
} |