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 UserLogExportDTO {

    @ExcelProperty("用户名")
    private String userName;

    @ExcelProperty("设备名")
    private String equipmentName;

    @ExcelProperty("部门")
    private String departmentName;

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

    @ExcelProperty("内容")
    private String content;

    @ExcelProperty("操作时间")
    private Date operateTime;

}
