package cn.ey.biz.module.system.controller.admin.abac.vo;

import cn.ey.biz.common.pojo.PageParam;
import lombok.Data;

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

@Data
public class AbacPageVo extends PageParam {

    @Size(max = 20, message = "应用名最长20个字符")
    private String app;

    @Size(max = 200, message = "规则名最长50个字符")
    private String name;

    @Max(value = 1, message = "应用场景只可以是0或1")
    @Min(value = 0, message = "应用场景只可以是0或1")
    private Integer scene;
}
