package com.crm.rely.backend.core.entity.custom.info;

import com.crm.rely.backend.core.entity.base.BaseUpdateEntity;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;


@Data
public class CustomPermissionDisplayUpdateEntity extends BaseUpdateEntity{

    private Long userId;
    @Min(value = 1,message = "parameter_error")
    @Max(value = 2,message = "parameter_error")
    private Integer permissionDisplay;

}
