package com.jeesharp.business.modules.food.dto;

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

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 企业线上充值支付成功 DTO。
 *
 * @author jeesharp
 * @since 2026-06-07
 */
@Data
public class FoodCompanyRechargePaidDTO {

    private String rechargeId;

    private String payOrderId;

    private String payOrderNo;

    @NotNull(message = "支付金额不能为空")
    @DecimalMin(value = "0.01", message = "支付金额必须大于0")
    private BigDecimal paidAmount;

    private LocalDateTime paidTime;
}
