|
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
import org.jeecg.common.aspect.annotation.Dict;
|
|
import org.jeecg.common.aspect.annotation.Dict;
|
|
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
|
@@ -18,7 +19,7 @@ import java.util.Objects;
|
|
|
* <p>
|
|
* <p>
|
|
|
* 部门表
|
|
* 部门表
|
|
|
* <p>
|
|
* <p>
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* @Author Steve
|
|
* @Author Steve
|
|
|
* @Since 2019-01-22
|
|
* @Since 2019-01-22
|
|
|
*/
|
|
*/
|
|
@@ -26,7 +27,7 @@ import java.util.Objects;
|
|
|
@TableName("sys_depart")
|
|
@TableName("sys_depart")
|
|
|
public class SysDepart implements Serializable {
|
|
public class SysDepart implements Serializable {
|
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
/**ID*/
|
|
/**ID*/
|
|
|
@TableId(type = IdType.ASSIGN_ID)
|
|
@TableId(type = IdType.ASSIGN_ID)
|
|
|
private String id;
|
|
private String id;
|
|
@@ -35,6 +36,10 @@ public class SysDepart implements Serializable {
|
|
|
/**机构/部门名称*/
|
|
/**机构/部门名称*/
|
|
|
@Excel(name="机构/部门名称",width=15)
|
|
@Excel(name="机构/部门名称",width=15)
|
|
|
private String departName;
|
|
private String departName;
|
|
|
|
|
+
|
|
|
|
|
+ @ApiModelProperty(value = "科室编码")
|
|
|
|
|
+ private String medicalDeptCode;
|
|
|
|
|
+
|
|
|
/**英文名*/
|
|
/**英文名*/
|
|
|
@Excel(name="英文名",width=15)
|
|
@Excel(name="英文名",width=15)
|
|
|
private String departNameEn;
|
|
private String departNameEn;
|
|
@@ -100,7 +105,7 @@ public class SysDepart implements Serializable {
|
|
|
@TableField(exist = false)
|
|
@TableField(exist = false)
|
|
|
private String oldDirectorUserIds;
|
|
private String oldDirectorUserIds;
|
|
|
//update-end---author:wangshuai ---date:20200308 for:[JTC-119]新增字段负责人ids和旧的负责人ids
|
|
//update-end---author:wangshuai ---date:20200308 for:[JTC-119]新增字段负责人ids和旧的负责人ids
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 重写equals方法
|
|
* 重写equals方法
|
|
|
*/
|
|
*/
|
|
@@ -144,9 +149,9 @@ public class SysDepart implements Serializable {
|
|
|
*/
|
|
*/
|
|
|
@Override
|
|
@Override
|
|
|
public int hashCode() {
|
|
public int hashCode() {
|
|
|
- return Objects.hash(super.hashCode(), id, parentId, departName,
|
|
|
|
|
- departNameEn, departNameAbbr, departOrder, description,orgCategory,
|
|
|
|
|
- orgType, orgCode, mobile, fax, address, memo, status,
|
|
|
|
|
|
|
+ return Objects.hash(super.hashCode(), id, parentId, departName,
|
|
|
|
|
+ departNameEn, departNameAbbr, departOrder, description,orgCategory,
|
|
|
|
|
+ orgType, orgCode, mobile, fax, address, memo, status,
|
|
|
delFlag, createBy, createTime, updateBy, updateTime, tenantId);
|
|
delFlag, createBy, createTime, updateBy, updateTime, tenantId);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|