package com.crm.rely.backend.core.entity.system.config.trade.interest;

import com.crm.rely.backend.core.constant.Constants;
import com.crm.rely.backend.core.entity.system.config.BaseSysConfigUpdateByEmailCodeEntity;
import lombok.Data;

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

/**
 * @description:
 * @author: houn
 * @create: 2022-04-12 09:39
 **/
@Data
public class SysConfigTradeInterestByEmailCodeEntity extends BaseSysConfigUpdateByEmailCodeEntity {

    @NotNull(message = Constants.PARAMETER_ERROR)
    private BigDecimal tradeInterest;

    @NotNull(message = Constants.PARAMETER_ERROR)
    private List<String> tradeInterestGroupTypes;
}
