67 lines
1.4 KiB
C#
67 lines
1.4 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace DOAN.Model.MES.base_.Dto
|
|
{
|
|
/// <summary>
|
|
/// 客户信息查询对象
|
|
/// </summary>
|
|
public class BaseCustomQueryDto : PagerInfo
|
|
{
|
|
public string CustomNo { get; set; }
|
|
|
|
public string CustomName { get; set; }
|
|
|
|
public int? Type { get; set; }
|
|
|
|
public int? Status { get; set; }
|
|
}
|
|
|
|
public class BaseCustomQueryDto2
|
|
{
|
|
public string CustomNo { get; set; }
|
|
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 客户信息输入输出对象
|
|
/// </summary>
|
|
public class BaseCustomDto
|
|
{
|
|
[Required(ErrorMessage = "主键不能为空")]
|
|
public int Id { get; set; }
|
|
|
|
public string CustomNo { get; set; }
|
|
|
|
public string CustomName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 客户简称
|
|
/// </summary>
|
|
public string CustomAddName { get; set; }
|
|
|
|
public string CustomAddress { get; set; }
|
|
|
|
public string CustomLiaison { get; set; }
|
|
|
|
public string CustomPhone { get; set; }
|
|
|
|
public int? Type { get; set; }
|
|
|
|
public int? Status { get; set; }
|
|
|
|
public string Remark { get; set; }
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
|
|
}
|
|
} |