
io.github.wslxm.springbootplus2.manage.sys.model.query.SysDepQuery Maven / Gradle / Ivy
package io.github.wslxm.springbootplus2.manage.sys.model.query;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.hibernate.validator.constraints.Range;
import org.hibernate.validator.constraints.Length;
import io.github.wslxm.springbootplus2.core.base.model.BaseQuery;
/**
* base--sys--组织机构 Query
*
*
* ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
*
* @author ws
* @email [email protected]
* @date 2022-12-29 09:57:30
*/
@Data
@ToString(callSuper = true)
@ApiModel(value = "SysDepQuery 对象", description = "base--sys--组织机构")
public class SysDepQuery extends BaseQuery {
private static final long serialVersionUID = -768259926186397696L;
@ApiModelProperty(value = "父Id (顶级父id=0)" )
@Length(min=0, max=32,message = "sys.dep.pid.Length")
private String pid;
@ApiModelProperty(value = "公司/部门名称" )
@Length(min=0, max=32,message = "sys.dep.name.Length")
private String name;
@ApiModelProperty(value = "部门编码 (便于查询使用,不可重复)" )
@Length(min=0, max=32,message = "sys.dep.code.Length")
private String code;
@ApiModelProperty(value = "禁用(0-否 1-是)" )
@Range(min=0, max=9L,message = "sys.dep.disable.Range")
private Integer disable;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy