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
{
///
/// 博思通物料接收实体
///
[ModelValidate]
public class BSTMaterialDTO
{
///
/// 操作类型
///
[PropertyValidate("操作类型", NotNullAndEmpty = true)]
public int Way { get; set; }
///
/// 物料唯一标识ID
///
[PropertyValidate("物料唯一标识ID", NotNullAndEmpty = true)]
public int MaterialId { get; set; }
///
/// 物料编号
///
[PropertyValidate("物料编号", NotNullAndEmpty = true)]
public string MaterialNo { get; set; }
///
/// 物料名称
///
[PropertyValidate("物料名称", NotNullAndEmpty = true)]
public string Name { get; set; }
///
/// 物料规格
///
[PropertyValidate("物料规格", NotNullAndEmpty = false)]
public string Spec { get; set; }
///
/// 物料类型
///
[PropertyValidate("物料类型", NotNullAndEmpty = true)]
public int MaterielType { 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; }
///
/// 库存组织
///
[PropertyValidate("库存组织", NotNullAndEmpty = true)]
public string InvOrgId { get; set; }
///
/// 操作类型
///
[PropertyValidate("操作类型", NotNullAndEmpty = true, Check = new object[] { 0, 1, 2 })]
public string OperateType { get; set; }
}
}