45 lines
935 B
C#
Raw Normal View History

2024-09-03 09:08:30 +08:00
using System.ComponentModel.DataAnnotations;
namespace DOAN.Model.MES.base_.Dto
{
/// <summary>
/// 单位信息查询对象
/// </summary>
public class BaseUnitQueryDto : PagerInfo
{
public string UnitName { get; set; }
public string UnitCode { get; set; }
public int Status { get; set; }
}
/// <summary>
/// 单位信息输入输出对象
/// </summary>
public class BaseUnitDto
{
[Required(ErrorMessage = "自增不能为空")]
public int Id { get; set; }
public string UnitName { get; set; }
public string UnitCode { get; set; }
public string Remark { 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; }
}
}