using System; 
 | 
using System.Collections.Generic; 
 | 
using System.Linq; 
 | 
using SqlSugar; 
 | 
using WIDESEA_Core.DB.Models; 
 | 
namespace WIDESEA_Model.Models 
 | 
{ 
 | 
    /// <summary> 
 | 
    /// 物料属性表 
 | 
    ///</summary> 
 | 
    [SugarTable("Dt_MaterielAttribute")] 
 | 
    public class Dt_MaterielAttribute : BaseEntity 
 | 
    { 
 | 
         
 | 
      
 | 
        /// <summary> 
 | 
        /// 备  注:属性ID 
 | 
        /// 默认值: 
 | 
        ///</summary> 
 | 
        [SugarColumn(ColumnName="AttributeID" ,IsPrimaryKey = true,IsIdentity = true) ] 
 | 
        public int AttributeID  { get; set;  }  
 | 
      
 | 
        /// <summary> 
 | 
        /// 备  注:物料ID 
 | 
        /// 默认值: 
 | 
        ///</summary> 
 | 
        [SugarColumn(ColumnName="MaterielID" ) ] 
 | 
        public int? MaterielID  { get; set;  }  
 | 
      
 | 
        /// <summary> 
 | 
        /// 备  注:属性编码 
 | 
        /// 默认值: 
 | 
        ///</summary> 
 | 
        [SugarColumn(ColumnName="AttributeCode" ) ] 
 | 
        public string? AttributeCode  { get; set;  }  
 | 
      
 | 
        /// <summary> 
 | 
        /// 备  注:物料属性名称 
 | 
        /// 默认值: 
 | 
        ///</summary> 
 | 
        [SugarColumn(ColumnName="AttributeName" ) ] 
 | 
        public string? AttributeName  { get; set;  }  
 | 
      
 | 
        /// <summary> 
 | 
        /// 备  注:物料属性描述 
 | 
        /// 默认值: 
 | 
        ///</summary> 
 | 
        [SugarColumn(ColumnName="AttributeDesc" ) ] 
 | 
        public string? AttributeDesc  { get; set;  }  
 | 
      
 | 
        /// <summary> 
 | 
        /// 备  注:存储条件 
 | 
        /// 默认值: 
 | 
        ///</summary> 
 | 
        [SugarColumn(ColumnName="Stroagecon" ) ] 
 | 
        public string? Stroagecon  { get; set;  }  
 | 
      
 | 
        /// <summary> 
 | 
        /// 备  注:运输条件 
 | 
        /// 默认值: 
 | 
        ///</summary> 
 | 
        [SugarColumn(ColumnName="Transpcon" ) ] 
 | 
        public string? Transpcon  { get; set;  }  
 | 
      
 | 
        /// <summary> 
 | 
        /// 备  注: 
 | 
        /// 默认值: 
 | 
        ///</summary> 
 | 
        [SugarColumn(ColumnName="Remark" ) ] 
 | 
        public string? Remark  { get; set;  }  
 | 
          
 | 
        
 | 
        /// <summary> 
 | 
        /// 备  注: 
 | 
        /// 默认值: 
 | 
        ///</summary> 
 | 
        [SugarColumn(ColumnName="Spare1" ) ] 
 | 
        public string? Spare1  { get; set;  }  
 | 
      
 | 
        /// <summary> 
 | 
        /// 备  注: 
 | 
        /// 默认值: 
 | 
        ///</summary> 
 | 
        [SugarColumn(ColumnName="Spare2" ) ] 
 | 
        public string? Spare2  { get; set;  }  
 | 
      
 | 
        /// <summary> 
 | 
        /// 备  注: 
 | 
        /// 默认值: 
 | 
        ///</summary> 
 | 
        [SugarColumn(ColumnName="Spare3" ) ] 
 | 
        public string? Spare3  { get; set;  }  
 | 
      
 | 
        /// <summary> 
 | 
        /// 备  注: 
 | 
        /// 默认值: 
 | 
        ///</summary> 
 | 
        [SugarColumn(ColumnName="Spare4" ) ] 
 | 
        public string? Spare4  { get; set;  }  
 | 
      
 | 
        /// <summary> 
 | 
        /// 备  注: 
 | 
        /// 默认值: 
 | 
        ///</summary> 
 | 
        [SugarColumn(ColumnName="Spare5" ) ] 
 | 
        public string? Spare5  { get; set;  } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 物料属性 
 | 
        /// </summary> 
 | 
        [SugarColumn(ColumnName = "物料属性 ")] 
 | 
        [Navigate(NavigateType.OneToMany, nameof(Dt_MaterielAttribute.MaterielID))] 
 | 
        public List<Dt_MaterielAttribute> Dt_MaterielAttributeList { get; set; } 
 | 
    } 
 | 
     
 | 
} 
 |