package com.ruoyi.warehouse.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import javax.validation.constraints.NotBlank;
|
import java.time.LocalDateTime;
|
|
public class ReturnExportDto {
|
|
private String id; // 记录编号
|
@Excel(name = "文档名称")
|
private String docName; // 文档名称
|
@Excel(name = "原借阅人")
|
private String nickName; // 借阅人
|
@Excel(name = "归还时间", dateFormat = "yyyy-MM-dd", width = 30)
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private LocalDateTime borrowTime; // 借阅时间(可能需要保留)
|
@Excel(name = "归还人")
|
@NotBlank(message = "归还人不能为空!!")
|
private String returnNickName; // 归还人
|
@Excel(name = "归还时间", dateFormat = "yyyy-MM-dd", width = 30)
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private LocalDateTime updateTime; // 归还时间
|
}
|