123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- package com.qmth.teachcloud.common.entity;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.fasterxml.jackson.databind.annotation.JsonSerialize;
- import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
- import com.qmth.teachcloud.common.base.BaseEntity;
- import io.swagger.annotations.ApiModelProperty;
- import java.io.Serializable;
- /**
- * <p>
- * 学校组织架构
- * </p>
- *
- * @author xf
- * @since 2021-03-23
- */
- @TableName("sys_org")
- public class SysOrg extends BaseEntity implements Serializable {
- private static final long serialVersionUID = 1L;
- /**
- * 学校ID
- */
- @JsonSerialize(using = ToStringSerializer.class)
- @TableField("school_id")
- private Long schoolId;
- /**
- * 机构代码
- */
- private String code;
- /**
- * 机构名称
- */
- private String name;
- /**
- * 上级机构ID
- */
- @JsonSerialize(using = ToStringSerializer.class)
- @TableField("parent_id")
- private Long parentId;
- /**
- * 0-禁用,1-启用
- */
- private Boolean enable;
- @ApiModelProperty("历史机构名")
- private String historicName;
- public Long getSchoolId() {
- return schoolId;
- }
- public void setSchoolId(Long schoolId) {
- this.schoolId = schoolId;
- }
- public String getCode() {
- return code;
- }
- public void setCode(String code) {
- this.code = code;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public Long getParentId() {
- return parentId;
- }
- public void setParentId(Long parentId) {
- this.parentId = parentId;
- }
- public Boolean getEnable() {
- return enable;
- }
- public void setEnable(Boolean enable) {
- this.enable = enable;
- }
- public String getHistoricName() {
- return historicName;
- }
- public void setHistoricName(String historicName) {
- this.historicName = historicName;
- }
- }
|