using MiniExcelLibs.Attributes; using UserCenter.Model; using UserCenter.Model.Common; namespace Learn.Archives.API.Controllers.Dto { public class AdminImportError : AdminImport { [ExcelColumn(Name = "错误原因", Width = 25)] public string Error { get; set; } } public class AdminImport { [ExcelColumn(Name = "账号", Width = 30)] public string Account { get; set; } [ExcelColumn(Name = "名称", Width = 15)] public string Name { get; set; } [ExcelColumn(Name = "电话号码", Width = 30)] public string Phone { get; set; } [ExcelColumn(Name = "角色", Width = 30)] public string Role { get; set; } /// /// 密码 /// [ExcelColumn(Name = "密码", Width = 20)] public string Password { get; set; } } }