package com.codvision.auth.entity.excel;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.codvision.base.entity.ExcelErrorRecord;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author hxl
 */
@Data
@ColumnWidth(30)
@ContentRowHeight(16)
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = true)
public class SysUserExcel extends ExcelErrorRecord {

    private static final long serialVersionUID = -7737887016652071246L;

    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("联系方式")
    private String mobile;

    @ExcelProperty("所属组织")
    private String orgName;

    @ExcelProperty("所属角色")
    private String role;
}
