package com.sckw.contract.model.vo.req;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author czh
 * @desc 完结
 * @date 2023/7/27
 */
@Data
public class CompleteReqVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 4191696463874543248L;

    /**
     * 主键id
     */
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空")
    @Size(max = 200, message = "备注超长")
    private String remark;

    /**
     * 履约量
     */
    @NotNull(message = "履约量不能为空")
    private BigDecimal performedAmount;

}
