package com.czg.product.dto;

import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 供应商
 *
 * @author Tankaikai tankaikai@aliyun.com
 * @since 1.0 2025-02-20
 */
@Data
public class ShopVendorBillPayDTO {
    /**
     * 账单记录id
     */
    @NotEmpty(message = "账单记录id不能为空")
    private List<Long> flowIdList;
    /**
     * 付款金额
     */
    @DecimalMin(value = "0.01", message = "付款金额不能小于0.01")
    private BigDecimal amount;
    /**
     * 付款类型
     */
    @NotBlank(message = "付款类型不能为空")
    private String type;
    /**
     * 备注
     */
    private String remark;

}
