package com.cool.store.request.fees;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Digits;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * <p>
 * 平安钱包分账信息Request
 * </p>
 *
 * @author wangff
 * @since 2026/1/30
 */
@Data
public class ShopAllocationInfoRequest {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("费用类型")
    @NotBlank(message = "费用类型不能为空")
    private String expenseType;

    @ApiModelProperty("收款公司名称")
    @NotBlank(message = "收款公司名称不能为空")
    private String payeeName;

    @ApiModelProperty("收款公司code")
    @NotBlank(message = "收款公司code不能为空")
    private String payeeCode;

    @ApiModelProperty("金额")
    @Digits(integer = 10, fraction = 2, message = "金额整数位最多10位，小数位最多2位")
    @NotNull(message = "金额不能为空")
    private BigDecimal amount;
}
