io.github.wslxm.springbootplus2.manage.sys.model.query.SysNumberQuery Maven / Gradle / Ivy
The newest version!
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;
/**
* 编号生成表 Query
*
*
* ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
*
* @author ws
* @email [email protected]
* @date 2023-12-06 11:08:13
*/
@Data
@ToString(callSuper = true)
@ApiModel(value = "SysNumberQuery 对象", description = "编号生成表")
public class SysNumberQuery extends BaseQuery {
private static final long serialVersionUID = -1732235472661110784L;
@ApiModelProperty(value = "层级 ")
@Range(min = 0L, max = 999L, message = "sys.number.hierarchy.Range")
private Integer hierarchy;
@ApiModelProperty(value = "父级 ")
@Length(min = 0, max = 32, message = "sys.number.pid.Length")
private String pid;
@ApiModelProperty(value = "标题")
@Length(min = 0, max = 32, message = "sys.number.name.Length")
private String name;
@ApiModelProperty(value = "code")
@Length(min = 0, max = 32, message = "sys.number.code.Length")
private String code;
}