package com.sckw.system.model.report;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.sckw.core.utils.LongToStringUtils;
import com.sckw.excel.annotation.ExcelContext;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @author czh
 * @desc 角色
 * @date 2023/9/14
 */
@Data
@ExcelContext(fileName = "岗位权限", sheetName = "岗位权限")
public class KwsRoleExcel implements Serializable {

    @Serial
    private static final long serialVersionUID = -3981621106754243351L;

    @ExcelProperty(value = "岗位名称")
    private String name;

    @ExcelProperty(value = "创建人")
    private String createBy;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ExcelProperty(value = "更新时间")
    private Date updateTime;

    @ExcelProperty(value = "备注")
    private String remark;
}
