123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- package com.qmth.teachcloud.common.entity;
- import com.baomidou.mybatisplus.annotation.FieldStrategy;
- import com.baomidou.mybatisplus.annotation.TableField;
- 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.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import java.io.Serializable;
- /**
- * <p>
- * 学校id
- * </p>
- *
- * @author wangliang
- * @since 2021-08-02
- */
- @ApiModel(value = "BasicStudent对象", description = "学校id")
- public class BasicStudent extends BaseEntity implements Serializable {
- private static final long serialVersionUID = 1L;
- @ApiModelProperty(value = "学校id")
- @JsonSerialize(using = ToStringSerializer.class)
- private Long schoolId;
- @ApiModelProperty(value = "学生姓名")
- private String studentName;
- @ApiModelProperty(value = "学生编号")
- private String studentCode;
- @ApiModelProperty(value = "电话号码")
- @TableField(updateStrategy = FieldStrategy.IGNORED)
- private String phoneNumber;
- @ApiModelProperty(value = "班级id")
- @JsonSerialize(using = ToStringSerializer.class)
- @TableField(updateStrategy = FieldStrategy.IGNORED)
- private Long clazzId;
- @ApiModelProperty(value = "可用状态(1:可用,0:不可用)")
- private Boolean enable;
- @ApiModelProperty(value = "可操作人机构id")
- @JsonSerialize(using = ToStringSerializer.class)
- private Long orgId;
- @ApiModelProperty(value = "所属机构id")
- @JsonSerialize(using = ToStringSerializer.class)
- @TableField(updateStrategy = FieldStrategy.IGNORED)
- private Long belongOrgId;
- @ApiModelProperty(value = "专业id")
- @JsonSerialize(using = ToStringSerializer.class)
- @TableField(updateStrategy = FieldStrategy.IGNORED)
- private Long majorId;
- public Long getBelongOrgId() {
- return belongOrgId;
- }
- public void setBelongOrgId(Long belongOrgId) {
- this.belongOrgId = belongOrgId;
- }
- public Long getMajorId() {
- return majorId;
- }
- public void setMajorId(Long majorId) {
- this.majorId = majorId;
- }
- public static long getSerialVersionUID() {
- return serialVersionUID;
- }
- public Long getSchoolId() {
- return schoolId;
- }
- public void setSchoolId(Long schoolId) {
- this.schoolId = schoolId;
- }
- public String getStudentName() {
- return studentName;
- }
- public void setStudentName(String studentName) {
- this.studentName = studentName;
- }
- public String getStudentCode() {
- return studentCode;
- }
- public void setStudentCode(String studentCode) {
- this.studentCode = studentCode;
- }
- public String getPhoneNumber() {
- return phoneNumber;
- }
- public void setPhoneNumber(String phoneNumber) {
- this.phoneNumber = phoneNumber;
- }
- public Long getClazzId() {
- return clazzId;
- }
- public void setClazzId(Long clazzId) {
- this.clazzId = clazzId;
- }
- public Boolean getEnable() {
- return enable;
- }
- public void setEnable(Boolean enable) {
- this.enable = enable;
- }
- public Long getOrgId() {
- return orgId;
- }
- public void setOrgId(Long orgId) {
- this.orgId = orgId;
- }
- }
|