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; } /// /// 物料宽度(0表示未设置) /// [PropertyValidate("物料宽度(0表示未设置)", NotNullAndEmpty = true)] public decimal MaterielWide { get; set; } /// /// 物料厚度(0表示未设置) /// [PropertyValidate("物料厚度(0表示未设置)", NotNullAndEmpty = true)] public decimal MaterielThickness { get; set; } /// /// 物料长度(0表示未设置) /// [PropertyValidate("物料长度(0表示未设置)", NotNullAndEmpty = true)] public decimal MaterielLength { get; set; } /// /// 物料重量(单位重量,精确数值) /// [PropertyValidate("物料重量(单位重量,精确数值)", NotNullAndEmpty = true)] public decimal Weight { get; set; } /// /// 状态 /// [PropertyValidate("状态", NotNullAndEmpty = true)] public int Status { get; set; } /// /// 库存组织 /// [PropertyValidate("库存组织", NotNullAndEmpty = true)] public int InvOrgId { get; set; } /// /// 计量单位(Kg:千克) /// [PropertyValidate("计量单位(Kg:千克)", NotNullAndEmpty = true)] public string Unit { get; set; } } }