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 ERPSupplierDTO
|
{
|
/// <summary>
|
/// 操作类型
|
/// </summary>
|
[PropertyValidate("操作类型", NotNullAndEmpty = true, Check = new object[] { 1, 2, 3 })]
|
public int OperateType { get; set; }
|
|
/// <summary>
|
/// 供应商编号/代码
|
/// </summary>
|
[PropertyValidate("供应商编号/代码", NotNullAndEmpty = true)]
|
public string SupplierCode { get; set; }
|
|
/// <summary>
|
/// 供应商全称
|
/// </summary>
|
[PropertyValidate("供应商全称", NotNullAndEmpty = true)]
|
public string SupplierName { get; set; }
|
|
/// <summary>
|
/// 供应商简称
|
/// </summary>
|
[PropertyValidate("供应商简称", NotNullAndEmpty = true)]
|
public string ShortName { get; set; }
|
|
/// <summary>
|
/// 联系人
|
/// </summary>
|
[PropertyValidate("联系人", NotNullAndEmpty = true)]
|
public string Contacts { get; set; }
|
|
/// <summary>
|
/// 联系电话
|
/// </summary>
|
[PropertyValidate("联系电话", NotNullAndEmpty = true)]
|
public string ContactNumber { get; set; }
|
|
/// <summary>
|
/// 联系地址
|
/// </summary>
|
[PropertyValidate("联系地址", NotNullAndEmpty = true)]
|
public string ContactAddress { get; set; }
|
|
/// <summary>
|
/// 电子邮箱
|
/// </summary>
|
[PropertyValidate("电子邮箱", NotNullAndEmpty = true)]
|
public string Email { get; set; }
|
|
/// <summary>
|
/// 描述
|
/// </summary>
|
[PropertyValidate("描述", NotNullAndEmpty = true)]
|
public string Description { get; set; }
|
|
/// <summary>
|
/// 状态
|
/// </summary>
|
[PropertyValidate("状态", NotNullAndEmpty = true)]
|
public int State { get; set; }
|
}
|
}
|