package com.crm.rely.backend.core.entity.risk.revoke.credit.rule.login;

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

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

@Data
public class RiskRevokeCreditRuleLoginUpdateEntity extends BaseUpdateEntity {

    @NotNull
    @NotBlank
    private String platform;

    @NotNull
    private Long login;

    @NotNull
    private BigDecimal ratio;
}
