package com.cpop.oam.business.vo;

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

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.OffsetDateTime;

/**
 * @author DB
 * @version 1.0.0
 * @since 2023-12-13 10:20
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "BusinessPageVoe对象", description = "事务分页返回对象")
public class BusinessPageVo {

    /**
     * 总剩余数量
     */
    @ApiModelProperty(value = "总剩余数量")
    private Integer allSurplusQuantity;
    /**
     * 业务等级，业务等级(0：轻；1：重；2：缓；3：急)
     */
    @ApiModelProperty(value = "业务等级(0：轻；1：重；2：缓；3：急)")
    private Integer businessLevel;
    /**
     * 业务类型，业务类型(0:机构对接；1：机构签约)
     */
    @ApiModelProperty(value = "业务类型(0:机构对接；1：机构签约)")
    private Integer businessType;
    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")
    private String desc;
    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
    /**
     * 事务id
     */
    @ApiModelProperty(value = "事务id")
    private String id;
    /**
     * 分发人
     */
    @ApiModelProperty(value = "分发人")
    private String initiatorName;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private LocalDate startDate;
    /**
     * 状态，状态（0:进行中;1:已完成）
     */
    @ApiModelProperty(value = "状态（0:进行中;1:已完成）")
    private Integer status;
}
