package com.crm.rely.backend.core.entity.merchant;

import com.crm.rely.backend.core.entity.base.BaseAddEntity;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

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

@Data
public class MerchantTransferAddEntity extends BaseAddEntity {
    @NotNull
    @NotBlank
    private String merchantSerial;

    private Long merchantId;

    @NotNull
    private Long fromLogin;

    private String fromPlatform;
    @NotNull
    private Long toLogin;

    private String toPlatform;
    @NotNull
    @NotBlank
    private String callbackUrl;
    @NotNull
    private BigDecimal amount;
    @NotNull
    @NotBlank
    private String sign;
}
