no message
This commit is contained in:
130
SMMS/src/com/chinasofti/model/Clazz.java
Normal file
130
SMMS/src/com/chinasofti/model/Clazz.java
Normal file
@@ -0,0 +1,130 @@
|
||||
/**
|
||||
* Copyright © 2025 eSunny Info. Tech Ltd. All rights reserved.
|
||||
*
|
||||
* 功能描述:
|
||||
* @Package: com.chinasofti.model
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年4月8日 上午8:03:22
|
||||
*/
|
||||
package com.chinasofti.model;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* Copyright: Copyright (c) 2025 chiansofti
|
||||
*
|
||||
* @ClassName: Clazz.java
|
||||
* @Description: 班级实体
|
||||
*
|
||||
* @version: v1.0.0
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年4月8日 上午8:03:22
|
||||
*
|
||||
* Modification History:
|
||||
* Date Author Version Description
|
||||
*---------------------------------------------------------*
|
||||
* 2025年4月8日 李洪涛 v1.0.0 新建文件
|
||||
*/
|
||||
public class Clazz {
|
||||
|
||||
private Long id;//主键
|
||||
|
||||
private Long userId;//责任人ID
|
||||
|
||||
private String clazzName;//班级名称
|
||||
|
||||
private String clazzCode;//班级编码
|
||||
|
||||
private String clazzs;//学级
|
||||
|
||||
private String clazzAds;//学届
|
||||
|
||||
private String createBy;//创建者
|
||||
|
||||
private LocalDateTime createTime;//创建时间
|
||||
|
||||
private String updateBy;//更新者
|
||||
|
||||
private LocalDateTime updateTime;//更新时间
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Long userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getClazzName() {
|
||||
return clazzName;
|
||||
}
|
||||
|
||||
public void setClazzName(String clazzName) {
|
||||
this.clazzName = clazzName;
|
||||
}
|
||||
|
||||
public String getClazzCode() {
|
||||
return clazzCode;
|
||||
}
|
||||
|
||||
public void setClazzCode(String clazzCode) {
|
||||
this.clazzCode = clazzCode;
|
||||
}
|
||||
|
||||
public String getClazzs() {
|
||||
return clazzs;
|
||||
}
|
||||
|
||||
public void setClazzs(String clazzs) {
|
||||
this.clazzs = clazzs;
|
||||
}
|
||||
|
||||
public String getClazzAds() {
|
||||
return clazzAds;
|
||||
}
|
||||
|
||||
public void setClazzAds(String clazzAds) {
|
||||
this.clazzAds = clazzAds;
|
||||
}
|
||||
|
||||
public String getCreateBy() {
|
||||
return createBy;
|
||||
}
|
||||
|
||||
public void setCreateBy(String createBy) {
|
||||
this.createBy = createBy;
|
||||
}
|
||||
|
||||
public LocalDateTime getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(LocalDateTime createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getUpdateBy() {
|
||||
return updateBy;
|
||||
}
|
||||
|
||||
public void setUpdateBy(String updateBy) {
|
||||
this.updateBy = updateBy;
|
||||
}
|
||||
|
||||
public LocalDateTime getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(LocalDateTime updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
}
|
||||
140
SMMS/src/com/chinasofti/model/CreditRecords.java
Normal file
140
SMMS/src/com/chinasofti/model/CreditRecords.java
Normal file
@@ -0,0 +1,140 @@
|
||||
/**
|
||||
* Copyright © 2025 eSunny Info. Tech Ltd. All rights reserved.
|
||||
*
|
||||
* 功能描述:
|
||||
* @Package: com.chinasofti.model
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年4月8日 上午8:03:22
|
||||
*/
|
||||
package com.chinasofti.model;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* Copyright: Copyright (c) 2025 chiansofti
|
||||
*
|
||||
* @ClassName: Clazz.java
|
||||
* @Description: 学分记录信息实体
|
||||
*
|
||||
* @version: v1.0.0
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年4月8日 上午8:03:22
|
||||
*
|
||||
* Modification History:
|
||||
* Date Author Version Description
|
||||
*---------------------------------------------------------*
|
||||
* 2025年4月8日 李洪涛 v1.0.0 新建文件
|
||||
*/
|
||||
public class CreditRecords {
|
||||
|
||||
private Long id;//主键
|
||||
|
||||
private Integer credit;//增减学分
|
||||
|
||||
private String creditType;//学分增减范围,1:本周学分;2:本科学分
|
||||
|
||||
private String remark;//学分增减原因
|
||||
|
||||
private Long number;//学号
|
||||
|
||||
private String studentName;//学生姓名
|
||||
|
||||
private Long clazzId;//班级ID
|
||||
|
||||
private String clazzName;//班级名称
|
||||
|
||||
private String userName;//操作人姓名
|
||||
|
||||
private String createBy;//创建者
|
||||
|
||||
private LocalDateTime createTime;//创建时间
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getCredit() {
|
||||
return credit;
|
||||
}
|
||||
|
||||
public void setCredit(Integer credit) {
|
||||
this.credit = credit;
|
||||
}
|
||||
|
||||
public String getCreditType() {
|
||||
return creditType;
|
||||
}
|
||||
|
||||
public void setCreditType(String creditType) {
|
||||
this.creditType = creditType;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Long getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
public void setNumber(Long number) {
|
||||
this.number = number;
|
||||
}
|
||||
|
||||
public Long getClazzId() {
|
||||
return clazzId;
|
||||
}
|
||||
|
||||
public void setClazzId(Long clazzId) {
|
||||
this.clazzId = clazzId;
|
||||
}
|
||||
|
||||
public String getStudentName() {
|
||||
return studentName;
|
||||
}
|
||||
|
||||
public void setStudentName(String studentName) {
|
||||
this.studentName = studentName;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getCreateBy() {
|
||||
return createBy;
|
||||
}
|
||||
|
||||
public void setCreateBy(String createBy) {
|
||||
this.createBy = createBy;
|
||||
}
|
||||
|
||||
public LocalDateTime getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(LocalDateTime createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getClazzName() {
|
||||
return clazzName;
|
||||
}
|
||||
|
||||
public void setClazzName(String clazzName) {
|
||||
this.clazzName = clazzName;
|
||||
}
|
||||
|
||||
}
|
||||
150
SMMS/src/com/chinasofti/model/Leave.java
Normal file
150
SMMS/src/com/chinasofti/model/Leave.java
Normal file
@@ -0,0 +1,150 @@
|
||||
/**
|
||||
* Copyright © 2025 eSunny Info. Tech Ltd. All rights reserved.
|
||||
*
|
||||
* 功能描述:
|
||||
* @Package: com.chinasofti.model
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年5月9日 上午11:05:39
|
||||
*/
|
||||
package com.chinasofti.model;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* Copyright: Copyright (c) 2025 chiansofti
|
||||
*
|
||||
* @ClassName: Leave.java
|
||||
* @Description: 该类的功能描述
|
||||
*
|
||||
* @version: v1.0.0
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年5月9日 上午11:05:39
|
||||
*
|
||||
* Modification History:
|
||||
* Date Author Version Description
|
||||
*---------------------------------------------------------*
|
||||
* 2025年5月9日 李洪涛 v1.0.0 新建文件
|
||||
*/
|
||||
public class Leave {
|
||||
|
||||
private Long id;//主键
|
||||
|
||||
private Long studentId;//学生Id
|
||||
|
||||
private Long teacherId;//审批教师Id
|
||||
|
||||
private String info;//请假申请信息
|
||||
|
||||
private String status;//审批状态,0:等待审核;1:审核通过;2:审核不通过
|
||||
|
||||
private String remark;//审批回复
|
||||
|
||||
private LocalDateTime applyTime;//申请时间
|
||||
|
||||
private LocalDateTime approveTime;//审批时间
|
||||
|
||||
private String createBy;//创建者
|
||||
|
||||
private LocalDateTime createTime;//创建时间
|
||||
|
||||
private String updateBy;//更新者
|
||||
|
||||
private LocalDateTime updateTime;//更新时间
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getStudentId() {
|
||||
return studentId;
|
||||
}
|
||||
|
||||
public void setStudentId(Long studentId) {
|
||||
this.studentId = studentId;
|
||||
}
|
||||
|
||||
public Long getTeacherId() {
|
||||
return teacherId;
|
||||
}
|
||||
|
||||
public void setTeacherId(Long teacherId) {
|
||||
this.teacherId = teacherId;
|
||||
}
|
||||
|
||||
public String getInfo() {
|
||||
return info;
|
||||
}
|
||||
|
||||
public void setInfo(String info) {
|
||||
this.info = info;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public LocalDateTime getApplyTime() {
|
||||
return applyTime;
|
||||
}
|
||||
|
||||
public void setApplyTime(LocalDateTime applyTime) {
|
||||
this.applyTime = applyTime;
|
||||
}
|
||||
|
||||
public LocalDateTime getApproveTime() {
|
||||
return approveTime;
|
||||
}
|
||||
|
||||
public void setApproveTime(LocalDateTime approveTime) {
|
||||
this.approveTime = approveTime;
|
||||
}
|
||||
|
||||
public String getCreateBy() {
|
||||
return createBy;
|
||||
}
|
||||
|
||||
public void setCreateBy(String createBy) {
|
||||
this.createBy = createBy;
|
||||
}
|
||||
|
||||
public LocalDateTime getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(LocalDateTime createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getUpdateBy() {
|
||||
return updateBy;
|
||||
}
|
||||
|
||||
public void setUpdateBy(String updateBy) {
|
||||
this.updateBy = updateBy;
|
||||
}
|
||||
|
||||
public LocalDateTime getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(LocalDateTime updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
}
|
||||
100
SMMS/src/com/chinasofti/model/Role.java
Normal file
100
SMMS/src/com/chinasofti/model/Role.java
Normal file
@@ -0,0 +1,100 @@
|
||||
/**
|
||||
* Copyright © 2025 eSunny Info. Tech Ltd. All rights reserved.
|
||||
*
|
||||
* 功能描述:
|
||||
* @Package: com.chinasofti.model
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年4月8日 上午8:00:14
|
||||
*/
|
||||
package com.chinasofti.model;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* Copyright: Copyright (c) 2025 chiansofti
|
||||
*
|
||||
* @ClassName: Role.java
|
||||
* @Description: 角色实体
|
||||
*
|
||||
* @version: v1.0.0
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年4月8日 上午8:00:14
|
||||
*
|
||||
* Modification History:
|
||||
* Date Author Version Description
|
||||
*---------------------------------------------------------*
|
||||
* 2025年4月8日 李洪涛 v1.0.0 新建文件
|
||||
*/
|
||||
public class Role {
|
||||
|
||||
private Long id;//主键
|
||||
|
||||
private String roleName;//角色名
|
||||
|
||||
private String roleCode;//角色编码
|
||||
|
||||
private String createBy;//创建者
|
||||
|
||||
private LocalDateTime createTime;//创建时间
|
||||
|
||||
private String updateBy;//更新者
|
||||
|
||||
private LocalDateTime updateTime;//更新时间
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getRoleName() {
|
||||
return roleName;
|
||||
}
|
||||
|
||||
public void setRoleName(String roleName) {
|
||||
this.roleName = roleName;
|
||||
}
|
||||
|
||||
public String getRoleCode() {
|
||||
return roleCode;
|
||||
}
|
||||
|
||||
public void setRoleCode(String roleCode) {
|
||||
this.roleCode = roleCode;
|
||||
}
|
||||
|
||||
public String getCreateBy() {
|
||||
return createBy;
|
||||
}
|
||||
|
||||
public void setCreateBy(String createBy) {
|
||||
this.createBy = createBy;
|
||||
}
|
||||
|
||||
public LocalDateTime getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(LocalDateTime createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getUpdateBy() {
|
||||
return updateBy;
|
||||
}
|
||||
|
||||
public void setUpdateBy(String updateBy) {
|
||||
this.updateBy = updateBy;
|
||||
}
|
||||
|
||||
public LocalDateTime getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(LocalDateTime updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
}
|
||||
159
SMMS/src/com/chinasofti/model/Student.java
Normal file
159
SMMS/src/com/chinasofti/model/Student.java
Normal file
@@ -0,0 +1,159 @@
|
||||
/**
|
||||
* Copyright © 2025 eSunny Info. Tech Ltd. All rights reserved.
|
||||
*
|
||||
* 功能描述:
|
||||
* @Package: com.chinasofti.model
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年3月27日 上午9:23:45
|
||||
*/
|
||||
package com.chinasofti.model;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* Copyright: Copyright (c) 2025 chiansofti
|
||||
*
|
||||
* @ClassName: Student.java
|
||||
* @Description: 学生实体对象
|
||||
*
|
||||
* @version: v1.0.0
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年3月27日 上午9:23:45
|
||||
*
|
||||
* Modification History:
|
||||
* Date Author Version Description
|
||||
*---------------------------------------------------------*
|
||||
* 2025年3月27日 李洪涛 v1.0.0 文件新建
|
||||
*/
|
||||
public class Student {
|
||||
|
||||
private Long id;//主键
|
||||
|
||||
private Long clazzId;//班级ID
|
||||
|
||||
private Long userId;//用户ID
|
||||
|
||||
private Long number;//学号
|
||||
|
||||
private Date birthday;//出生日期
|
||||
|
||||
private String major;//专业
|
||||
|
||||
private String honor;//个人荣誉
|
||||
|
||||
private int scoreNow;//本周当前学分
|
||||
|
||||
private String createBy;//创建者
|
||||
|
||||
private LocalDateTime createTime;//创建时间
|
||||
|
||||
private String updateBy;//更新者
|
||||
|
||||
private LocalDateTime updateTime;//更新时间
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getClazzId() {
|
||||
return clazzId;
|
||||
}
|
||||
|
||||
public void setClazzId(Long clazzId) {
|
||||
this.clazzId = clazzId;
|
||||
}
|
||||
|
||||
public Long getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Long userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Long getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
public void setNumber(Long number) {
|
||||
this.number = number;
|
||||
}
|
||||
|
||||
public Date getBirthday() {
|
||||
return birthday;
|
||||
}
|
||||
|
||||
public void setBirthday(Date birthday) {
|
||||
this.birthday = birthday;
|
||||
}
|
||||
|
||||
public String getMajor() {
|
||||
return major;
|
||||
}
|
||||
|
||||
public void setMajor(String major) {
|
||||
this.major = major;
|
||||
}
|
||||
|
||||
public String getHonor() {
|
||||
return honor;
|
||||
}
|
||||
|
||||
public void setHonor(String honor) {
|
||||
this.honor = honor;
|
||||
}
|
||||
|
||||
public int getScoreNow() {
|
||||
return scoreNow;
|
||||
}
|
||||
|
||||
public void setScoreNow(int scoreNow) {
|
||||
this.scoreNow = scoreNow;
|
||||
}
|
||||
|
||||
public String getCreateBy() {
|
||||
return createBy;
|
||||
}
|
||||
|
||||
public void setCreateBy(String createBy) {
|
||||
this.createBy = createBy;
|
||||
}
|
||||
|
||||
public LocalDateTime getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(LocalDateTime createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getUpdateBy() {
|
||||
return updateBy;
|
||||
}
|
||||
|
||||
public void setUpdateBy(String updateBy) {
|
||||
this.updateBy = updateBy;
|
||||
}
|
||||
|
||||
public LocalDateTime getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(LocalDateTime updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Student [id=" + id + ", clazzId=" + clazzId + ", userId=" + userId + ", number=" + number
|
||||
+ ", birthday=" + birthday + ", major=" + major + ", honor=" + honor + ", scoreNow=" + scoreNow
|
||||
+ ", createBy=" + createBy + ", createTime=" + createTime + ", updateBy=" + updateBy + ", updateTime="
|
||||
+ updateTime + "]";
|
||||
}
|
||||
|
||||
}
|
||||
100
SMMS/src/com/chinasofti/model/Teacher.java
Normal file
100
SMMS/src/com/chinasofti/model/Teacher.java
Normal file
@@ -0,0 +1,100 @@
|
||||
/**
|
||||
* Copyright © 2025 eSunny Info. Tech Ltd. All rights reserved.
|
||||
*
|
||||
* 功能描述:
|
||||
* @Package: com.chinasofti.model
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年5月4日 下午10:50:48
|
||||
*/
|
||||
package com.chinasofti.model;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* Copyright: Copyright (c) 2025 chiansofti
|
||||
*
|
||||
* @ClassName: Teacher.java
|
||||
* @Description: 教师实体
|
||||
*
|
||||
* @version: v1.0.0
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年5月4日 下午10:50:48
|
||||
*
|
||||
* Modification History:
|
||||
* Date Author Version Description
|
||||
*---------------------------------------------------------*
|
||||
* 2025年5月4日 李洪涛 v1.0.0 新建文件
|
||||
*/
|
||||
public class Teacher {
|
||||
|
||||
private Long id;//主键
|
||||
|
||||
private Long userId;//用户ID
|
||||
|
||||
private String isCounselor;//是否是辅导员,y:是;n:不是
|
||||
|
||||
private String createBy;//创建者
|
||||
|
||||
private LocalDateTime createTime;//创建时间
|
||||
|
||||
private String updateBy;//更新者
|
||||
|
||||
private LocalDateTime updateTime;//更新时间
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Long userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getCreateBy() {
|
||||
return createBy;
|
||||
}
|
||||
|
||||
public void setCreateBy(String createBy) {
|
||||
this.createBy = createBy;
|
||||
}
|
||||
|
||||
public LocalDateTime getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(LocalDateTime createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getUpdateBy() {
|
||||
return updateBy;
|
||||
}
|
||||
|
||||
public void setUpdateBy(String updateBy) {
|
||||
this.updateBy = updateBy;
|
||||
}
|
||||
|
||||
public LocalDateTime getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(LocalDateTime updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
public String getIsCounselor() {
|
||||
return isCounselor;
|
||||
}
|
||||
|
||||
public void setIsCounselor(String isCounselor) {
|
||||
this.isCounselor = isCounselor;
|
||||
}
|
||||
|
||||
}
|
||||
58
SMMS/src/com/chinasofti/model/TeacherClazz.java
Normal file
58
SMMS/src/com/chinasofti/model/TeacherClazz.java
Normal file
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* Copyright © 2025 eSunny Info. Tech Ltd. All rights reserved.
|
||||
*
|
||||
* 功能描述:
|
||||
* @Package: com.chinasofti.model
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年5月5日 上午2:47:10
|
||||
*/
|
||||
package com.chinasofti.model;
|
||||
|
||||
/**
|
||||
* Copyright: Copyright (c) 2025 chiansofti
|
||||
*
|
||||
* @ClassName: TeacherClazz.java
|
||||
* @Description: 教师班级关系信息
|
||||
*
|
||||
* @version: v1.0.0
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年5月5日 上午2:47:10
|
||||
*
|
||||
* Modification History:
|
||||
* Date Author Version Description
|
||||
*---------------------------------------------------------*
|
||||
* 2025年5月5日 李洪涛 v1.0.0 新建文件
|
||||
*/
|
||||
public class TeacherClazz {
|
||||
|
||||
private Long id;//主键
|
||||
|
||||
private Long clazzId;//班级ID
|
||||
|
||||
private Long teacherId;//教师ID
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getClazzId() {
|
||||
return clazzId;
|
||||
}
|
||||
|
||||
public void setClazzId(Long clazzId) {
|
||||
this.clazzId = clazzId;
|
||||
}
|
||||
|
||||
public Long getTeacherId() {
|
||||
return teacherId;
|
||||
}
|
||||
|
||||
public void setTeacherId(Long teacherId) {
|
||||
this.teacherId = teacherId;
|
||||
}
|
||||
|
||||
}
|
||||
140
SMMS/src/com/chinasofti/model/User.java
Normal file
140
SMMS/src/com/chinasofti/model/User.java
Normal file
@@ -0,0 +1,140 @@
|
||||
/**
|
||||
* Copyright © 2025 eSunny Info. Tech Ltd. All rights reserved.
|
||||
*
|
||||
* 功能描述:
|
||||
* @Package: com.chinasofti.model
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年3月27日 上午10:20:21
|
||||
*/
|
||||
package com.chinasofti.model;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* Copyright: Copyright (c) 2025 chiansofti
|
||||
*
|
||||
* @ClassName: User.java
|
||||
* @Description: 用户类
|
||||
*
|
||||
* @version: v1.0.0
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年3月27日 上午10:20:21
|
||||
*
|
||||
* Modification History:
|
||||
* Date Author Version Description
|
||||
*---------------------------------------------------------*
|
||||
* 2025年3月27日 李洪涛 v1.0.0 文件新建
|
||||
*/
|
||||
public class User {
|
||||
|
||||
private Long id;//主键
|
||||
|
||||
private Long roleId;//角色
|
||||
|
||||
private String name;//姓名
|
||||
|
||||
private String sex;//性别
|
||||
|
||||
private String userName;//用户名
|
||||
|
||||
private String passWord;//密码
|
||||
|
||||
private String phone;//联系方式
|
||||
|
||||
private String createBy;//创建者
|
||||
|
||||
private LocalDateTime createTime;//创建时间
|
||||
|
||||
private String updateBy;//更新者
|
||||
|
||||
private LocalDateTime updateTime;//更新时间
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getRoleId() {
|
||||
return roleId;
|
||||
}
|
||||
|
||||
public void setRoleId(Long roleId) {
|
||||
this.roleId = roleId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getSex() {
|
||||
return sex;
|
||||
}
|
||||
|
||||
public void setSex(String sex) {
|
||||
this.sex = sex;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getPassWord() {
|
||||
return passWord;
|
||||
}
|
||||
|
||||
public void setPassWord(String passWord) {
|
||||
this.passWord = passWord;
|
||||
}
|
||||
|
||||
public String getCreateBy() {
|
||||
return createBy;
|
||||
}
|
||||
|
||||
public void setCreateBy(String createBy) {
|
||||
this.createBy = createBy;
|
||||
}
|
||||
|
||||
public LocalDateTime getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(LocalDateTime createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getUpdateBy() {
|
||||
return updateBy;
|
||||
}
|
||||
|
||||
public void setUpdateBy(String updateBy) {
|
||||
this.updateBy = updateBy;
|
||||
}
|
||||
|
||||
public LocalDateTime getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
public void setUpdateTime(LocalDateTime updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
}
|
||||
100
SMMS/src/com/chinasofti/model/view/LeaveView.java
Normal file
100
SMMS/src/com/chinasofti/model/view/LeaveView.java
Normal file
@@ -0,0 +1,100 @@
|
||||
/**
|
||||
* Copyright © 2025 eSunny Info. Tech Ltd. All rights reserved.
|
||||
*
|
||||
* 功能描述:
|
||||
* @Package: com.chinasofti.model.view
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年5月11日 上午11:06:35
|
||||
*/
|
||||
package com.chinasofti.model.view;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* Copyright: Copyright (c) 2025 chiansofti
|
||||
*
|
||||
* @ClassName: LeaveView.java
|
||||
* @Description: 请假记录页面数据
|
||||
*
|
||||
* @version: v1.0.0
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年5月11日 上午11:06:35
|
||||
*
|
||||
* Modification History:
|
||||
* Date Author Version Description
|
||||
*---------------------------------------------------------*
|
||||
* 2025年5月11日 李洪涛 v1.0.0 新建文件
|
||||
*/
|
||||
public class LeaveView {
|
||||
|
||||
private String studentName;//学生姓名
|
||||
|
||||
private String teacherName;//审批教师姓名
|
||||
|
||||
private String info;//请假申请信息
|
||||
|
||||
private String status;//审批状态,0:等待审核;1:审核通过;2:审核不通过
|
||||
|
||||
private String remark;//审批回复
|
||||
|
||||
private LocalDateTime applyTime;//申请时间
|
||||
|
||||
private LocalDateTime approveTime;//审批时间
|
||||
|
||||
public String getStudentName() {
|
||||
return studentName;
|
||||
}
|
||||
|
||||
public void setStudentName(String studentName) {
|
||||
this.studentName = studentName;
|
||||
}
|
||||
|
||||
public String getTeacherName() {
|
||||
return teacherName;
|
||||
}
|
||||
|
||||
public void setTeacherName(String teacherName) {
|
||||
this.teacherName = teacherName;
|
||||
}
|
||||
|
||||
public String getInfo() {
|
||||
return info;
|
||||
}
|
||||
|
||||
public void setInfo(String info) {
|
||||
this.info = info;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public LocalDateTime getApplyTime() {
|
||||
return applyTime;
|
||||
}
|
||||
|
||||
public void setApplyTime(LocalDateTime applyTime) {
|
||||
this.applyTime = applyTime;
|
||||
}
|
||||
|
||||
public LocalDateTime getApproveTime() {
|
||||
return approveTime;
|
||||
}
|
||||
|
||||
public void setApproveTime(LocalDateTime approveTime) {
|
||||
this.approveTime = approveTime;
|
||||
}
|
||||
|
||||
}
|
||||
46
SMMS/src/com/chinasofti/model/view/Page.java
Normal file
46
SMMS/src/com/chinasofti/model/view/Page.java
Normal file
@@ -0,0 +1,46 @@
|
||||
package com.chinasofti.model.view;
|
||||
/**
|
||||
*
|
||||
* Copyright: Copyright (c) 2025 chiansofti
|
||||
*
|
||||
* @ClassName: Page.java
|
||||
* @Description: 分页类页码封装
|
||||
*
|
||||
* @version: v1.0.0
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年5月3日 上午8:56:45
|
||||
*
|
||||
* Modification History:
|
||||
* Date Author Version Description
|
||||
*---------------------------------------------------------*
|
||||
* 2025年5月3日 李洪涛 v1.0.0 新建文件
|
||||
*/
|
||||
public class Page {
|
||||
private int start;//起始页
|
||||
private int currentPage;//当前页
|
||||
private int pageSize;//每页显示数量
|
||||
public Page(int currentPage,int pageSize){
|
||||
this.start = (currentPage-1)*pageSize;
|
||||
this.currentPage = currentPage;
|
||||
this.pageSize = pageSize;
|
||||
}
|
||||
public int getStart() {
|
||||
return start;
|
||||
}
|
||||
public void setStart(int start) {
|
||||
this.start = start;
|
||||
}
|
||||
public int getCurrentPage() {
|
||||
return currentPage;
|
||||
}
|
||||
public void setCurrentPage(int currentPage) {
|
||||
this.currentPage = currentPage;
|
||||
}
|
||||
public int getPageSize() {
|
||||
return pageSize;
|
||||
}
|
||||
public void setPageSize(int pageSize) {
|
||||
this.pageSize = pageSize;
|
||||
}
|
||||
|
||||
}
|
||||
149
SMMS/src/com/chinasofti/model/view/StudentView.java
Normal file
149
SMMS/src/com/chinasofti/model/view/StudentView.java
Normal file
@@ -0,0 +1,149 @@
|
||||
/**
|
||||
* Copyright © 2025 eSunny Info. Tech Ltd. All rights reserved.
|
||||
*
|
||||
* 功能描述:
|
||||
* @Package: com.chinasofti.model.view
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年5月3日 上午10:55:40
|
||||
*/
|
||||
package com.chinasofti.model.view;
|
||||
|
||||
|
||||
/**
|
||||
* Copyright: Copyright (c) 2025 chiansofti
|
||||
*
|
||||
* @ClassName: StudentView.java
|
||||
* @Description: 学生类页面数据
|
||||
*
|
||||
* @version: v1.0.0
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年5月3日 上午10:55:40
|
||||
*
|
||||
* Modification History:
|
||||
* Date Author Version Description
|
||||
*---------------------------------------------------------*
|
||||
* 2025年5月3日 李洪涛 v1.0.0 修改原因
|
||||
*/
|
||||
public class StudentView {
|
||||
|
||||
private Long userId;//用户主键
|
||||
|
||||
private Long studentId;//主键
|
||||
|
||||
private Long clazzId;//班级主键
|
||||
|
||||
private String name;//姓名
|
||||
|
||||
private String sex;//性别
|
||||
|
||||
private String userName;//用户名
|
||||
|
||||
private String phone;//联系方式
|
||||
|
||||
private Long number;//学号
|
||||
|
||||
private String birthday;//出生日期
|
||||
|
||||
private String major;//专业
|
||||
|
||||
private String honor;//个人荣誉
|
||||
|
||||
private int scoreNow;//当前学分
|
||||
|
||||
public Long getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Long userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Long getStudentId() {
|
||||
return studentId;
|
||||
}
|
||||
|
||||
public void setStudentId(Long studentId) {
|
||||
this.studentId = studentId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getSex() {
|
||||
return sex;
|
||||
}
|
||||
|
||||
public void setSex(String sex) {
|
||||
this.sex = sex;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public Long getNumber() {
|
||||
return number;
|
||||
}
|
||||
|
||||
public void setNumber(Long number) {
|
||||
this.number = number;
|
||||
}
|
||||
|
||||
public String getBirthday() {
|
||||
return birthday;
|
||||
}
|
||||
|
||||
public void setBirthday(String birthday) {
|
||||
this.birthday = birthday;
|
||||
}
|
||||
|
||||
public String getMajor() {
|
||||
return major;
|
||||
}
|
||||
|
||||
public void setMajor(String major) {
|
||||
this.major = major;
|
||||
}
|
||||
|
||||
public String getHonor() {
|
||||
return honor;
|
||||
}
|
||||
|
||||
public void setHonor(String honor) {
|
||||
this.honor = honor;
|
||||
}
|
||||
|
||||
public int getScoreNow() {
|
||||
return scoreNow;
|
||||
}
|
||||
|
||||
public void setScoreNow(int scoreNow) {
|
||||
this.scoreNow = scoreNow;
|
||||
}
|
||||
|
||||
public Long getClazzId() {
|
||||
return clazzId;
|
||||
}
|
||||
|
||||
public void setClazzId(Long clazzId) {
|
||||
this.clazzId = clazzId;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
}
|
||||
108
SMMS/src/com/chinasofti/model/view/TeacherView.java
Normal file
108
SMMS/src/com/chinasofti/model/view/TeacherView.java
Normal file
@@ -0,0 +1,108 @@
|
||||
/**
|
||||
* Copyright © 2025 eSunny Info. Tech Ltd. All rights reserved.
|
||||
*
|
||||
* 功能描述:
|
||||
* @Package: com.chinasofti.model.view
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年5月7日 下午1:07:09
|
||||
*/
|
||||
package com.chinasofti.model.view;
|
||||
|
||||
/**
|
||||
* Copyright: Copyright (c) 2025 chiansofti
|
||||
*
|
||||
* @ClassName: TeacherView.java
|
||||
* @Description: 该类的功能描述
|
||||
*
|
||||
* @version: v1.0.0
|
||||
* @author: 李洪涛
|
||||
* @date: 2025年5月7日 下午1:07:09
|
||||
*
|
||||
* Modification History:
|
||||
* Date Author Version Description
|
||||
*---------------------------------------------------------*
|
||||
* 2025年5月7日 李洪涛 v1.0.0 新建文件
|
||||
*/
|
||||
public class TeacherView {
|
||||
|
||||
private Long userId;//用户主键
|
||||
|
||||
private Long teacherId;//教师主键
|
||||
|
||||
private Long clazzId;//班级主键
|
||||
|
||||
private String name;//姓名
|
||||
|
||||
private String sex;//性别
|
||||
|
||||
private String userName;//用户名
|
||||
|
||||
private String phone;//联系方式
|
||||
|
||||
private String isCounselor;//是否是辅导员,y:是;n:不是
|
||||
|
||||
public Long getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Long userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Long getTeacherId() {
|
||||
return teacherId;
|
||||
}
|
||||
|
||||
public void setTeacherId(Long teacherId) {
|
||||
this.teacherId = teacherId;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getSex() {
|
||||
return sex;
|
||||
}
|
||||
|
||||
public void setSex(String sex) {
|
||||
this.sex = sex;
|
||||
}
|
||||
|
||||
public String getUserName() {
|
||||
return userName;
|
||||
}
|
||||
|
||||
public void setUserName(String userName) {
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public String getIsCounselor() {
|
||||
return isCounselor;
|
||||
}
|
||||
|
||||
public void setIsCounselor(String isCounselor) {
|
||||
this.isCounselor = isCounselor;
|
||||
}
|
||||
|
||||
public Long getClazzId() {
|
||||
return clazzId;
|
||||
}
|
||||
|
||||
public void setClazzId(Long clazzId) {
|
||||
this.clazzId = clazzId;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user