50 lines
1.1 KiB
C#
50 lines
1.1 KiB
C#
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不能为空")]
|
|
public string? SiteCode { get; set; }
|
|
|
|
public string? SiteName { get; set; }
|
|
|
|
public string? SiteType { get; set; }
|
|
|
|
public string? Description { get; set; }
|
|
|
|
public string? Address { get; set; }
|
|
|
|
public int? Status { get; set; }
|
|
|
|
public string? CreatedBy { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public string? UpdatedBy { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
|
|
}
|
|
} |