using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
namespace WIDESEA_DTO.Basic
{
///
/// 二期ERP供应商接收实体
///
[ModelValidate]
public class ERPSupplierDTO
{
///
/// 操作类型
///
[PropertyValidate("操作类型", NotNullAndEmpty = true, Check = new object[] { 1, 2, 3 })]
public int OperateType { get; set; }
///
/// 供应商编号/代码
///
[PropertyValidate("供应商编号/代码", NotNullAndEmpty = true)]
public string SupplierCode { get; set; }
///
/// 供应商全称
///
[PropertyValidate("供应商全称", NotNullAndEmpty = true)]
public string SupplierName { get; set; }
///
/// 供应商简称
///
[PropertyValidate("供应商简称", NotNullAndEmpty = true)]
public string ShortName { get; set; }
///
/// 联系人
///
[PropertyValidate("联系人", NotNullAndEmpty = true)]
public string Contacts { get; set; }
///
/// 联系电话
///
[PropertyValidate("联系电话", NotNullAndEmpty = true)]
public string ContactNumber { get; set; }
///
/// 联系地址
///
[PropertyValidate("联系地址", NotNullAndEmpty = true)]
public string ContactAddress { get; set; }
///
/// 电子邮箱
///
[PropertyValidate("电子邮箱", NotNullAndEmpty = true)]
public string Email { get; set; }
///
/// 描述
///
[PropertyValidate("描述", NotNullAndEmpty = true)]
public string Description { get; set; }
///
/// 状态
///
[PropertyValidate("状态", NotNullAndEmpty = true)]
public int State { get; set; }
}
}