| 12345678910111213141516171819202122232425262728 |
- package com.hr.dto;
- import com.yy.basedevelop.common.util.ruoyi.annotation.Excel;
- import lombok.Data;
- import org.apache.poi.ss.usermodel.IndexedColors;
- /**
- * @author yaoy
- * @createTime 2025/10/13 14:11
- **/
- @Data
- public class DemoExcelDto {
- @Excel(
- name = "名字",
- cellType = Excel.ColumnType.STRING,
- headerColor= IndexedColors.BLUE1
- )
- private String name;
- @Excel(
- name = "名字",
- cellType = Excel.ColumnType.STRING,
- headerColor= IndexedColors.CORAL,
- dictName="test_code"
- )
- private String testCode;
- }
|