Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加并重构当前特性 #63

Closed
xin-lai opened this issue Mar 22, 2020 · 1 comment
Closed

添加并重构当前特性 #63

xin-lai opened this issue Mar 22, 2020 · 1 comment
Assignees
Labels
discussion 讨论 enhancement New feature or request
Milestone

Comments

@xin-lai
Copy link
Collaborator

xin-lai commented Mar 22, 2020

  • 支持使用System.ComponentModel.DataAnnotations命名空间下的部分特性来控制导入导出,比如
    • DisplayAttribute
    • DisplayFormatAttribute
    • DescriptionAttribute
  • 封装简单的易于使用的单一特性,例如
    • IEIgnoreAttribute(可作用于属性、枚举成员,可影响导入和导出)
@xin-lai xin-lai added the enhancement New feature or request label Mar 22, 2020
@xin-lai xin-lai added this to the 2.2 milestone Mar 22, 2020
@xin-lai xin-lai self-assigned this Mar 22, 2020
@xin-lai xin-lai added the discussion 讨论 label Mar 22, 2020
@xin-lai
Copy link
Collaborator Author

xin-lai commented Mar 22, 2020

DisplayAttribute

  • Name
    • 导入导出的显示列名(属性)
    • Sheet名称(class)
  • Order
    • 列索引
  • Prompt :
    • 表头提示
  • Description
    • 列描述

DisplayFormatAttribute

DefaultValueAttribute

LocalizableAttribute

DescriptionAttribute

IEIgnoreAttribute(自定义)

作用于属性和枚举成员。

  • IsImportIgnore(是否忽略导入,默认true)
  • IsExportIgnore(是否忽略导出,默认true)

@hueifeng hueifeng assigned hueifeng and unassigned xin-lai Mar 30, 2020
xin-lai pushed a commit that referenced this issue Apr 16, 2020
【Excel模板导出】修复只存在一列时的导出 #73

【Excel导入】支持返回表头和索引 #76

【Excel导入导入】#63

支持使用System.ComponentModel.DataAnnotations命名空间下的部分特性来控制导入导出,比如

DisplayAttribute

DisplayFormatAttribute

DescriptionAttribute

封装简单的易于使用的单一特性,例如

IEIgnoreAttribute(可作用于属性、枚举成员,可影响导入和导出)
@hueifeng hueifeng closed this as completed May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion 讨论 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants