TokenResourceExcel.java 1.27 KB
Newer Older
wanmin@bu2.cn's avatar
wanmin@bu2.cn committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
package com.roo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.util.Date;

/**
 * 代币详情
 *
 * @author momin 460363410@qq.com
 * @since 1.0 2021-07-24
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class TokenResourceExcel {
    @ExcelProperty(value = "主键", index = 0)
    private Long id;
    @ExcelProperty(value = "block_chain_code", index = 1)
    private String chainCode;
    @ExcelProperty(value = "符号", index = 2)
    private String symbol;
    @ExcelProperty(value = "合约地址", index = 3)
    private String contractId;
    @ExcelProperty(value = "资源:JSON", index = 4)
    private Object resource;
    @ExcelProperty(value = "详情", index = 5)
    private String detail;
    @ExcelProperty(value = "发行量", index = 6)
    private Long totalSupply;
    @ExcelProperty(value = "是否限制供应", index = 7)
    private Boolean isUpper;
    @ExcelProperty(value = "创建时间", index = 8)
    private Date createDate;
    @ExcelProperty(value = "更新时间", index = 9)
    private Date updateDate;
}