using System.ComponentModel.DataAnnotations.Schema; namespace WX.CRM.Model.Entity { public partial class BAS_EXCELIMPORTDICT { /// /// 列索引 /// [NotMapped] public int ColumnIndex { get; set; } public BAS_EXCELIMPORTDICT() { this.ColumnIndex = -1;//默认为-1,索引为-1是找不到excel对应的列 } } }