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