package com.goafanti.ambSystem.bo;

import com.goafanti.common.constant.ErrorConstants;
import com.goafanti.common.model.AmbPaymentApplication;
import com.goafanti.common.utils.Param;

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

public class InputAmbPayment extends AmbPaymentApplication {

    @Param(name="付款类型")
    @NotNull(message = "{"+ ErrorConstants.PARAM_EMPTY_ERROR+"}")
    private Integer type;

    @Param(name="付款金额")
    @NotNull(message = "{"+ ErrorConstants.PARAM_EMPTY_ERROR+"}")
    private BigDecimal totalAmount;
    @Param(name="发起阿米巴")
    @NotNull(message = "{"+ ErrorConstants.PARAM_EMPTY_ERROR+"}")
    private Long initiateAmbId;

    @Param(name="接受阿米巴")
    @NotNull(message = "{"+ ErrorConstants.PARAM_EMPTY_ERROR+"}")
    private Long acceptAmbId;

    @Override
    public Long getInitiateAmbId() {
        return initiateAmbId;
    }

    @Override
    public void setInitiateAmbId(Long initiateAmbId) {
        this.initiateAmbId = initiateAmbId;
    }

    @Override
    public Long getAcceptAmbId() {
        return acceptAmbId;
    }

    @Override
    public void setAcceptAmbId(Long acceptAmbId) {
        this.acceptAmbId = acceptAmbId;
    }

    @Override
    public Integer getType() {
        return type;
    }

    @Override
    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    @Override
    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }
}
