Ver código fonte

代码整理优化

gaodm 6 anos atrás
pai
commit
0204137b61

+ 0 - 63
knowledgeman-service/src/main/java/com/diagbot/dto/GetAllBodypartDTO.java

@@ -1,63 +0,0 @@
-package com.diagbot.dto;
-
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Getter;
-import lombok.Setter;
-
-/**
- * @Description
- * @author rgb
- * @time 2018年12月5日下午5:00:34
- */
-@Getter
-@Setter
-public class GetAllBodypartDTO {
-	
-    /**
-     * 部位名称
-     */
-    @ApiModelProperty(value="部位名称")
-    private String name;
-    
-    /**
-     * 部位排序号
-     */
-    @ApiModelProperty(value="部位排序号")
-    private Integer orderNo;
-    
-
-	@Override
-	public int hashCode() {
-		final int prime = 31;
-		int result = 1;
-		result = prime * result + ((name == null) ? 0 : name.hashCode());
-		result = prime * result + ((orderNo == null) ? 0 : orderNo.hashCode());
-		return result;
-	}
-
-	@Override
-	public boolean equals(Object obj) {
-		if (this == obj)
-			return true;
-		if (obj == null)
-			return false;
-		if (getClass() != obj.getClass())
-			return false;
-		GetAllBodypartDTO other = (GetAllBodypartDTO) obj;
-		if (name == null) {
-			if (other.name != null)
-				return false;
-		} else if (!name.equals(other.name))
-			return false;
-		if (orderNo == null) {
-			if (other.orderNo != null)
-				return false;
-		} else if (!orderNo.equals(other.orderNo))
-			return false;
-		return true;
-	}
-    
-
-    
-
-}

+ 0 - 40
knowledgeman-service/src/main/java/com/diagbot/vo/GetAllBodypartVO.java

@@ -1,40 +0,0 @@
-package com.diagbot.vo;
-
-import javax.validation.constraints.NotNull;
-
-import org.hibernate.validator.constraints.Range;
-
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Getter;
-import lombok.Setter;
-
-/**
- * @Description:
- * @author: Weixuan Huang
- * @time: 2019/3/14 16:03
- */
-@Getter
-@Setter
-public class GetAllBodypartVO {
-    
-    /**
-     * 一级部位名称
-     */
-	@ApiModelProperty(value="一级部位名称")
-    private String bodypart;
-	
-    /**
-     * 二级部位名称
-     */
-	@ApiModelProperty(value="二级部位名称")
-    private String subBodypart;
-  
-    /**
-     * 部位级别,1-一级、2-二级
-     */
-    @NotNull(message="部位级别必传")
-    @ApiModelProperty(value="部位级别,1-一级、2-二级",required=true)
-    @Range(min=1,max=2,message="部位级别必须是1或2")
-    private Integer level;
-    
-}

+ 0 - 25
knowledgeman-service/src/main/java/com/diagbot/vo/GetAllDeptsVO.java

@@ -1,25 +0,0 @@
-package com.diagbot.vo;
-
-import io.swagger.annotations.ApiModel;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Getter;
-import lombok.Setter;
-
-/**
- * @Description
- * @author rgb
- * @time 2018年12月5日下午5:00:52
- */
-@ApiModel(value="获取所有科室接口传参")
-@Getter
-@Setter
-public class GetAllDeptsVO {
-	
-	/**
-	 * 科室名称
-	 */
-	@ApiModelProperty(value="科室名称")
-	private String name;
-
-
-}