/*
 * Copyright ©2023 CJB-CNIT Team. All rights reserved
 */
package com.openhis.web.inpatientmanage.dto;

import java.math.BigDecimal;

import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 预交金付款入参
 *
 * @author gaoyy
 * @date 2025-05-26
 */
@Data
@Accessors(chain = true)
public class DepositPaymentDto {

    /** 支付的患者ID */
    @NotNull
    private Long patientId;

    /** 付款总额 */
    private BigDecimal displayAmount;

    /** 就诊ID */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long encounterId;

    /** 支付类型 */
    @NotNull
    private Integer payEnum;

    /** 金额 */
    @NotNull
    private BigDecimal amount;

}
