package com.skr.mdm.bean.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import lombok.Builder;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

import java.util.Date;

/**
 * @author nfq
 * @date 2023-03-08 17:17
 */
@Data
@Builder
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ContentStyle(horizontalAlignment = HorizontalAlignment.LEFT)
@ColumnWidth(20)
public class AdminLogExportDTO {

    @ExcelProperty(value = "类型")
    private String logType;

    @ExcelProperty(value = "日志内容")
    private String content;

    @ExcelProperty(value = "模块")
    private String module;

    @ExcelProperty(value = "管理员")
    private String operator;

    @ExcelProperty(value = "操作对象")
    private String operateUser;

    @ExcelProperty(value = "操作时间")
    private Date createTime;
}
