package com.crm.rely.backend.core.entity.risk.close.trade.login;

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 RiskCloseTradeLoginAddEntity extends BaseAddEntity {
    @NotNull
    @NotBlank
    private String platform;

    @NotNull
    private Long login;

    private BigDecimal ratio;
    @NotNull
    private BigDecimal amount;
}
