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.time.LocalDate;

/**
 * @author DB
 * @version 1.0.0
 * @since 2023-12-29 15:16
 */
@Data
@Accessors(chain = true)
@Schema(description = "PersonBusinessInfoVo对象")
public class PersonBusinessInfoVo {

    /**
     * 剩余数量
     */
    @Schema(description = "剩余数量")
    private Integer surplusQuantity;
    /**
     * 业务等级，业务等级(0：轻；1：重；2：缓；3：急)
     */
    @Schema(description = "业务等级(0：轻；1：重；2：缓；3：急)")
    private Integer businessLevel;
    /**
     * 业务类型，业务类型(0:机构对接；1：机构签约)
     */
    @Schema(description = "业务类型(0:机构对接；1：机构签约)")
    private Integer businessType;
    /**
     * 描述
     */
    @Schema(description = "描述")
    private String desc;
    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
    /**
     * 分发人
     */
    @Schema(description = "分发人")
    private String initiatorName;
    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description = "开始时间")
    private LocalDate startDate;
}
