package com.cpop.oam.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.sql.Date;
import java.time.LocalDateTime;

/**
 * @author DB
 * @createTime 2023/09/20 16:43
 * @description 财务报销请求参数
 */
@Data
@Accessors(chain = true)
@Schema(description = "财务报销返回参数")
public class FinanceReimburseAuditPageVo {

    /**
     * 主键
     */
    @Schema(description ="主键")
    private String id;

    /**
     * 提交人
     */
    @Schema(description ="提交人id")
    private String staffId;

    /**
     * 提交人
     */
    @Schema(description ="提交人")
    private String staffName;

    /**
     * 状态：0:审批中;1:下款中;2:已下发-1:驳回
     */
    @Schema(description ="状态：0:审批中;1:下款中;2:已下发-1:驳回")
    private Integer status;

    /**
     * 申请类型id
     */
    @Schema(description ="申请类型id")
    private String typeId;

    /**
     * 申请类型
     */
    @Schema(description ="申请类型")
    private String typeName;

    /**
     * 报销日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Schema(description ="报销日期")
    private Date reportDate;

    /**
     * 申请说明
     */
    @Schema(description ="申请说明")
    private String remarks;

    /**
     * 申请金额
     */
    @Schema(description ="申请金额")
    private BigDecimal price;

    /**
     * 附件
     */
    @Schema(description ="附件")
    private String attachmentUrl;

    /**
     * 驳回原因
     */
    @Schema(description ="驳回原因")
    private String rejectReason;

    /**
     * 创建时间
     */
    @Schema(description ="创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private LocalDateTime createTime;

}
