using SqlSugar;
|
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>
|
/// 博思通供应商接收实体
|
/// </summary>
|
[ModelValidate]
|
public class BSTSupplierDTO
|
{
|
/// <summary>
|
/// 操作类型
|
/// </summary>
|
[PropertyValidate("操作类型", NotNullAndEmpty = true)]
|
public int Way { get; set; }
|
|
/// <summary>
|
/// 供应商唯一标识ID
|
/// </summary>
|
[PropertyValidate("供应商唯一标识ID", NotNullAndEmpty = true)]
|
public int VendId { get; set; }
|
|
/// <summary>
|
/// 供应商编号/代码
|
/// </summary>
|
[PropertyValidate("供应商编号/代码", NotNullAndEmpty = true)]
|
public string VendNo { get; set; }
|
|
/// <summary>
|
/// 供应商简称
|
/// </summary>
|
[PropertyValidate("供应商简称", NotNullAndEmpty = true)]
|
public string ShortName { get; set; }
|
|
/// <summary>
|
/// 商务联系人
|
/// </summary>
|
[PropertyValidate("summary", NotNullAndEmpty = true)]
|
public string BusinessContact { get; set; }
|
|
/// <summary>
|
/// 联系电话
|
/// </summary>
|
[PropertyValidate("联系电话", NotNullAndEmpty = true)]
|
public string Tel { get; set; }
|
|
/// <summary>
|
/// 公司地址
|
/// </summary>
|
[PropertyValidate("公司地址", NotNullAndEmpty = true)]
|
public string Address { get; set; }
|
|
/// <summary>
|
/// 状态标识(1表示启用/有效状态)
|
/// </summary>
|
[PropertyValidate("状态标识", NotNullAndEmpty = true)]
|
public int Status { get; set; }
|
}
|
}
|