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

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

import javax.validation.constraints.NotNull;

@Data
public class SysConfigSingleEntity extends SingleLongEntity {

    @NotNull(message = ManagerConstant.CONFIG_CODE_NOT_NULL)
    @NotBlank(message = ManagerConstant.CONFIG_CODE_NOT_NULL)
    private String code;

}
