|
@@ -0,0 +1,75 @@
|
|
|
+package com.qmth.teachcloud.common.entity;
|
|
|
+
|
|
|
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
+import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
+import com.qmth.teachcloud.common.base.BaseEntity;
|
|
|
+import com.qmth.teachcloud.common.enums.DepartmentTypeEnum;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ * 部门设置表
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author wangliang
|
|
|
+ * @since 2021-07-29
|
|
|
+ */
|
|
|
+@ApiModel(value = "TBDepartment对象", description = "部门设置表")
|
|
|
+public class TBDepartment extends BaseEntity implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "学校id")
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Long schoolId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "机构id")
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Long orgId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "用户id")
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Long userId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "类型,MANAGER:主管,MEMBER:成员")
|
|
|
+ private DepartmentTypeEnum type;
|
|
|
+
|
|
|
+ public static long getSerialVersionUID() {
|
|
|
+ return serialVersionUID;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getSchoolId() {
|
|
|
+ return schoolId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSchoolId(Long schoolId) {
|
|
|
+ this.schoolId = schoolId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getOrgId() {
|
|
|
+ return orgId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setOrgId(Long orgId) {
|
|
|
+ this.orgId = orgId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getUserId() {
|
|
|
+ return userId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUserId(Long userId) {
|
|
|
+ this.userId = userId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public DepartmentTypeEnum getType() {
|
|
|
+ return type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setType(DepartmentTypeEnum type) {
|
|
|
+ this.type = type;
|
|
|
+ }
|
|
|
+}
|