Valeo_Line_MES_backend/MDM/Models/Plant/Dto/PlantFactorySiteDto.cs

50 lines
1.1 KiB
C#
Raw Normal View History

2026-01-10 13:47:54 +08:00
using System.ComponentModel.DataAnnotations;
namespace MDM.Model.Plant.Dto
{
/// <summary>
/// 工厂/站点查询对象
/// </summary>
public class PlantFactorySiteQueryDto : PagerInfo
{
public string? SiteCode { get; set; }
public string? SiteName { get; set; }
public string? SiteType { get; set; }
public int? Status { get; set; }
}
/// <summary>
/// 工厂/站点输入输出对象
/// </summary>
public class PlantFactorySiteDto
{
[Required(ErrorMessage = "工厂id不能为空")]
public int SiteId { get; set; }
[Required(ErrorMessage = "工厂code不能为空")]
2026-01-12 11:13:10 +08:00
public string? SiteCode { get; set; }
2026-01-10 13:47:54 +08:00
2026-01-12 11:13:10 +08:00
public string? SiteName { get; set; }
2026-01-10 13:47:54 +08:00
2026-01-12 11:13:10 +08:00
public string? SiteType { get; set; }
2026-01-10 13:47:54 +08:00
2026-01-12 11:13:10 +08:00
public string? Description { get; set; }
2026-01-10 13:47:54 +08:00
2026-01-12 11:13:10 +08:00
public string? Address { get; set; }
2026-01-10 13:47:54 +08:00
public int? Status { get; set; }
2026-01-12 11:13:10 +08:00
public string? CreatedBy { get; set; }
2026-01-10 13:47:54 +08:00
public DateTime? CreatedTime { get; set; }
2026-01-12 11:13:10 +08:00
public string? UpdatedBy { get; set; }
2026-01-10 13:47:54 +08:00
public DateTime? UpdatedTime { get; set; }
}
}