45 lines
935 B
C#
45 lines
935 B
C#
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; }
|
|
|
|
|
|
|
|
}
|
|
} |