package com.sckw.transport.model;

import com.sckw.core.web.request.PageReq;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

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

/**
 * @author :donglang
 * @version :1.0
 * @description : 收费策略
 * @create :2026-01-05 08:59:00
 */
@Data
public class ParkingWalletFeeSaveParam implements Serializable {

    @Serial
    private static final long serialVersionUID = -5431003248533000828L;

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

    /**
     * 平台企业id
     */
    @NotNull(message = "平台企业id不能为空")
    @Schema(description = "平台企业id")
    private Long supEntId;

    /**
     * 采购商企业id
     */
    @NotNull(message = "采购商企业id不能为空")
    @Schema(description = "采购商企业id")
    private Long proEntId;

    /**
     * 服务费余额
     */
    @NotNull(message = "服务费余额不能为空")
    @Schema(description = "服务费余额")
    private BigDecimal serviceFee;

    /**
     * 凭证图片
     */
    @Schema(description = "凭证图片")
    private String voucherUrl;

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空")
    @Schema(description = "备注")
    private String remark;


    /**
     * 资金类型（1-预付、 2-扣款）
     */
    @NotNull(message = "资金类型为空")
    @Schema(description = "资金类型")
    private Integer paymentType;

}
