package com.njcn.gather.aireport.reportapproval.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ReportApprovalPendingVO {
    @ApiModelProperty("报告类型")
    private String reportType;
    @ApiModelProperty("报告ID")
    private String reportId;
    @ApiModelProperty("报告名称")
    private String reportName;
    @ApiModelProperty("报告状态")
    private String state;
    @ApiModelProperty("提交人ID")
    private String submitterId;
    @ApiModelProperty("提交人")
    private String submitterName;
    @ApiModelProperty("提交时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime submitTime;
}
