package com.cpop.oam.business.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author DB
 * @createTime 2023/09/26 23:35
 * @description
 */
@Data
@ApiModel(value = "报销下款")
public class ReimbursePayBo implements Serializable {

    /**
     * 主键
     */
    @NotBlank(message = "主键不能为空")
    @ApiModelProperty(value = "主键",required = true)
    private String id;

    /**
     * 下发金额
     */
    @NotNull(message = "下发金额不能为空")
    @ApiModelProperty(value = "下发金额",required = true)
    private BigDecimal stageAmount;

    /**
     * 下款时间
     */
    @NotNull(message = "下款时间不能为空")
    @ApiModelProperty(value = "下款时间",required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime paymentTime;
}
