using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEA_Core.Attributes;
|
|
namespace WIDESEA_DTO.Basic
|
{
|
/// <summary>
|
/// 二期ERP客户接收实体
|
/// </summary>
|
[ModelValidate]
|
public class ERPCustomerDTO
|
{
|
/// <summary>
|
/// 操作类型
|
/// </summary>
|
[PropertyValidate("操作类型", NotNullAndEmpty = true, Check = new object[] { 1, 2, 3 })]
|
public int OperateType { get; set; }
|
|
/// <summary>
|
/// 客户编码
|
/// </summary>
|
[PropertyValidate("客户编码", NotNullAndEmpty = true)]
|
public string CustomerCode { get; set; }
|
|
/// <summary>
|
/// 客户名称
|
/// </summary>
|
[PropertyValidate("客户名称", NotNullAndEmpty = true)]
|
public string CustomerName { get; set; }
|
|
/// <summary>
|
/// 客户简称
|
/// </summary>
|
[PropertyValidate("客户简称", NotNullAndEmpty = true)]
|
public string ShortName { get; set; }
|
|
/// <summary>
|
/// 状态
|
/// </summary>
|
[PropertyValidate("状态", NotNullAndEmpty = true)]
|
public int State { get; set; }
|
}
|
}
|