package cn.iocoder.yudao.module.server.controller.admin.materialdownloadlog.vo;

import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 资料下载日志 Response VO")
@Data
@ExcelIgnoreUnannotated
public class MaterialDownloadLogRespVO {

    @Schema(description = "日志id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24484")
//    @ExcelProperty("日志id")
    private Long id;

    @Schema(description = "资料ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "31572")
//    @ExcelProperty("资料ID")
    private Long materialId;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14821")
//    @ExcelProperty("用户ID")
    private Long userId;

    @Schema(description = "下载时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("下载时间")
    @ColumnWidth(20)
    private LocalDateTime downloadTime;

    @Schema(description = "IP地址")
    @ExcelProperty("IP地址")
    private String ipAddress;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    @ColumnWidth(20)
    private LocalDateTime createTime;

    @Schema(description = "资料名称", example = "赵六")
    @ExcelProperty("资料名称")
    private String materialName;

    @Schema(description = "下载用户", example = "芋艿")
    @ExcelProperty("下载用户")
    private String userName;

}