All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.wslxm.springbootplus2.manage.sys.model.dto.SysDepDTO Maven / Gradle / Ivy

The newest version!
package io.github.wslxm.springbootplus2.manage.sys.model.dto;

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.BaseDto;

/**
 * base--sys--组织机构 DTO
 *
 * 

* ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者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 = "SysDepDTO 对象", description = "base--sys--组织机构") public class SysDepDTO extends BaseDto { private static final long serialVersionUID = -768259926085734400L; @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 = 128, message = "sys.dep.desc.Length") private String desc; @ApiModelProperty(value = "部门编码 (便于查询使用,不可重复)") @Length(min = 0, max = 32, message = "sys.dep.code.Length") private String code; @ApiModelProperty(value = "排序") @Range(min = 0, max = 1215752191L, message = "sys.dep.sort.Range") private Integer sort; @ApiModelProperty(value = "禁用(0-否 1-是)") @Range(min = 0, max = 9L, message = "sys.dep.disable.Range") private Integer disable; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy