parent
43e6486731
commit
562311e111
@ -1,97 +1,91 @@
|
||||
package self.cases.teams.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField; // 引入 MyBatis-Plus 字段注解
|
||||
import com.baomidou.mybatisplus.annotation.TableId; // 引入 MyBatis-Plus 主键注解
|
||||
import com.baomidou.mybatisplus.annotation.TableName; // 引入 MyBatis-Plus 表注解
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.io.Serializable; // 引入序列化接口
|
||||
|
||||
/**
|
||||
* 数据实体类
|
||||
* 报名记录
|
||||
*/
|
||||
@TableName(value = "active_logs")
|
||||
public class ActiveLogs implements Serializable {
|
||||
@TableName(value = "active_logs") // 设置对应的数据库表名
|
||||
public class ActiveLogs implements Serializable { // 实现 Serializable 接口以便序列化
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = 1L; // 定义序列化版本号
|
||||
|
||||
/**
|
||||
* 记录ID
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private String id;
|
||||
@TableId(value = "id") // 设置主键字段名
|
||||
private String id; // 主键字段
|
||||
|
||||
/**
|
||||
/**
|
||||
* 报名时间
|
||||
*/
|
||||
@TableField(value = "create_time")
|
||||
private String createTime;
|
||||
@TableField(value = "create_time") // 设置字段名
|
||||
private String createTime; // 报名时间字段
|
||||
|
||||
/**
|
||||
/**
|
||||
* 活动编号
|
||||
*/
|
||||
@TableField(value = "active_id")
|
||||
private String activeId;
|
||||
@TableField(value = "active_id") // 设置字段名
|
||||
private String activeId; // 活动编号字段
|
||||
|
||||
/**
|
||||
/**
|
||||
* 报名用户
|
||||
*/
|
||||
@TableField(value = "user_id")
|
||||
private String userId;
|
||||
@TableField(value = "user_id") // 设置字段名
|
||||
private String userId; // 用户 ID 字段
|
||||
|
||||
|
||||
// Getter 方法,用于获取 id
|
||||
public String getId(){
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
// Setter 方法,用于设置 id
|
||||
public void setId(String id){
|
||||
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
// Getter 方法,用于获取 createTime
|
||||
public String getCreateTime(){
|
||||
|
||||
return createTime;
|
||||
}
|
||||
|
||||
// Setter 方法,用于设置 createTime
|
||||
public void setCreateTime(String createTime){
|
||||
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
|
||||
// Getter 方法,用于获取 activeId
|
||||
public String getActiveId(){
|
||||
|
||||
return activeId;
|
||||
}
|
||||
|
||||
// Setter 方法,用于设置 activeId
|
||||
public void setActiveId(String activeId){
|
||||
|
||||
this.activeId = activeId;
|
||||
}
|
||||
|
||||
|
||||
// Getter 方法,用于获取 userId
|
||||
public String getUserId(){
|
||||
|
||||
return userId;
|
||||
}
|
||||
|
||||
// Setter 方法,用于设置 userId
|
||||
public void setUserId(String userId){
|
||||
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
|
||||
// 重写 toString 方法,便于打印对象信息
|
||||
@Override
|
||||
public String toString() {
|
||||
|
||||
return "ActiveLogs [id=" + id
|
||||
return "ActiveLogs [id=" + id
|
||||
+ ", createTime=" + createTime
|
||||
+ ", activeId=" + activeId
|
||||
+ ", userId=" + userId
|
||||
+ "]";
|
||||
+ "]"; // 返回对象属性的字符串表示
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,115 +1,108 @@
|
||||
package self.cases.teams.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.TableField; // 引入 MyBatis-Plus 字段注解
|
||||
import com.baomidou.mybatisplus.annotation.TableId; // 引入 MyBatis-Plus 主键注解
|
||||
import com.baomidou.mybatisplus.annotation.TableName; // 引入 MyBatis-Plus 表注解
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.io.Serializable; // 引入序列化接口
|
||||
|
||||
/**
|
||||
* 数据实体类
|
||||
* 申请记录
|
||||
*/
|
||||
@TableName(value = "apply_logs")
|
||||
public class ApplyLogs implements Serializable {
|
||||
@TableName(value = "apply_logs") // 设置对应的数据库表名
|
||||
public class ApplyLogs implements Serializable { // 实现 Serializable 接口以便序列化
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = 1L; // 定义序列化版本号
|
||||
|
||||
/**
|
||||
* 记录ID
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private String id;
|
||||
@TableId(value = "id") // 设置主键字段名
|
||||
private String id; // 主键字段
|
||||
|
||||
/**
|
||||
/**
|
||||
* 处理状态
|
||||
*/
|
||||
@TableField(value = "status")
|
||||
private Integer status;
|
||||
@TableField(value = "status") // 设置字段名
|
||||
private Integer status; // 状态字段(整数类型)
|
||||
|
||||
/**
|
||||
/**
|
||||
* 申请时间
|
||||
*/
|
||||
@TableField(value = "create_time")
|
||||
private String createTime;
|
||||
@TableField(value = "create_time") // 设置字段名
|
||||
private String createTime; // 申请时间字段
|
||||
|
||||
/**
|
||||
/**
|
||||
* 申请社团
|
||||
*/
|
||||
@TableField(value = "team_id")
|
||||
private String teamId;
|
||||
@TableField(value = "team_id") // 设置字段名
|
||||
private String teamId; // 社团 ID 字段
|
||||
|
||||
/**
|
||||
/**
|
||||
* 申请用户
|
||||
*/
|
||||
@TableField(value = "user_id")
|
||||
private String userId;
|
||||
@TableField(value = "user_id") // 设置字段名
|
||||
private String userId; // 用户 ID 字段
|
||||
|
||||
|
||||
// Getter 方法,用于获取 id
|
||||
public String getId(){
|
||||
|
||||
return id;
|
||||
}
|
||||
|
||||
// Setter 方法,用于设置 id
|
||||
public void setId(String id){
|
||||
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
// Getter 方法,用于获取 status
|
||||
public Integer getStatus(){
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
// Setter 方法,用于设置 status
|
||||
public void setStatus(Integer status){
|
||||
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
|
||||
// Getter 方法,用于获取 createTime
|
||||
public String getCreateTime(){
|
||||
|
||||
return createTime;
|
||||
}
|
||||
|
||||
// Setter 方法,用于设置 createTime
|
||||
public void setCreateTime(String createTime){
|
||||
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
|
||||
// Getter 方法,用于获取 teamId
|
||||
public String getTeamId(){
|
||||
|
||||
return teamId;
|
||||
}
|
||||
|
||||
// Setter 方法,用于设置 teamId
|
||||
public void setTeamId(String teamId){
|
||||
|
||||
this.teamId = teamId;
|
||||
}
|
||||
|
||||
|
||||
// Getter 方法,用于获取 userId
|
||||
public String getUserId(){
|
||||
|
||||
return userId;
|
||||
}
|
||||
|
||||
// Setter 方法,用于设置 userId
|
||||
public void setUserId(String userId){
|
||||
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
|
||||
// 重写 toString 方法,便于打印对象信息
|
||||
@Override
|
||||
public String toString() {
|
||||
|
||||
return "ApplyLogs [id=" + id
|
||||
return "ApplyLogs [id=" + id
|
||||
+ ", status=" + status
|
||||
+ ", createTime=" + createTime
|
||||
+ ", teamId=" + teamId
|
||||
+ ", userId=" + userId
|
||||
+ "]";
|
||||
+ "]"; // 返回对象属性的字符串表示
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,97 +1,84 @@
|
||||
package self.cases.teams.entity;
|
||||
package self.cases.teams.entity; // 定义包路径
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.io.Serializable;
|
||||
import com.baomidou.mybatisplus.annotation.TableField; // 引入 MyBatis-Plus 的字段注解
|
||||
import com.baomidou.mybatisplus.annotation.TableId; // 引入 MyBatis-Plus 的主键注解
|
||||
import com.baomidou.mybatisplus.annotation.TableName; // 引入 MyBatis-Plus 的表名注解
|
||||
import java.io.Serializable; // 引入序列化接口
|
||||
|
||||
/**
|
||||
* 数据实体类
|
||||
* 成员信息
|
||||
*/
|
||||
@TableName(value = "members")
|
||||
public class Members implements Serializable {
|
||||
@TableName(value = "members") // 表名映射为 members
|
||||
public class Members implements Serializable { // 实现 Serializable 接口,支持序列化
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = 1L; // 序列化版本号
|
||||
|
||||
/**
|
||||
* 记录ID
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private String id;
|
||||
@TableId(value = "id") // 主键字段映射到数据库中的 id 列
|
||||
private String id; // 成员的唯一标识符
|
||||
|
||||
/**
|
||||
/**
|
||||
* 入团时间
|
||||
*/
|
||||
@TableField(value = "create_time")
|
||||
private String createTime;
|
||||
@TableField(value = "create_time") // 字段映射到数据库中的 create_time 列
|
||||
private String createTime; // 成员加入的时间
|
||||
|
||||
/**
|
||||
/**
|
||||
* 加入社团
|
||||
*/
|
||||
@TableField(value = "team_id")
|
||||
private String teamId;
|
||||
@TableField(value = "team_id") // 字段映射到数据库中的 team_id 列
|
||||
private String teamId; // 成员所属社团的唯一标识符
|
||||
|
||||
/**
|
||||
/**
|
||||
* 申请用户
|
||||
*/
|
||||
@TableField(value = "user_id")
|
||||
private String userId;
|
||||
|
||||
|
||||
public String getId(){
|
||||
@TableField(value = "user_id") // 字段映射到数据库中的 user_id 列
|
||||
private String userId; // 申请成员的用户唯一标识符
|
||||
|
||||
// Getter 和 Setter 方法
|
||||
public String getId(){ // 获取成员 ID
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id){
|
||||
|
||||
public void setId(String id){ // 设置成员 ID
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
public String getCreateTime(){
|
||||
|
||||
public String getCreateTime(){ // 获取入团时间
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime){
|
||||
|
||||
public void setCreateTime(String createTime){ // 设置入团时间
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
|
||||
public String getTeamId(){
|
||||
|
||||
public String getTeamId(){ // 获取社团 ID
|
||||
return teamId;
|
||||
}
|
||||
|
||||
public void setTeamId(String teamId){
|
||||
|
||||
public void setTeamId(String teamId){ // 设置社团 ID
|
||||
this.teamId = teamId;
|
||||
}
|
||||
|
||||
|
||||
public String getUserId(){
|
||||
|
||||
public String getUserId(){ // 获取用户 ID
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId){
|
||||
|
||||
public void setUserId(String userId){ // 设置用户 ID
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
|
||||
// 自定义 toString 方法
|
||||
@Override
|
||||
public String toString() {
|
||||
|
||||
return "Members [id=" + id
|
||||
return "Members [id=" + id // 返回成员的基本信息
|
||||
+ ", createTime=" + createTime
|
||||
+ ", teamId=" + teamId
|
||||
+ ", userId=" + userId
|
||||
+ "]";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,115 +1,99 @@
|
||||
package self.cases.teams.entity;
|
||||
package self.cases.teams.entity; // 定义包路径
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.io.Serializable;
|
||||
import com.baomidou.mybatisplus.annotation.TableField; // 引入 MyBatis-Plus 的字段注解
|
||||
import com.baomidou.mybatisplus.annotation.TableId; // 引入 MyBatis-Plus 的主键注解
|
||||
import com.baomidou.mybatisplus.annotation.TableName; // 引入 MyBatis-Plus 的表名注解
|
||||
import java.io.Serializable; // 引入序列化接口
|
||||
|
||||
/**
|
||||
* 数据实体类
|
||||
* 通知记录
|
||||
*/
|
||||
@TableName(value = "notices")
|
||||
public class Notices implements Serializable {
|
||||
@TableName(value = "notices") // 表名映射为 notices
|
||||
public class Notices implements Serializable { // 实现 Serializable 接口,支持序列化
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = 1L; // 序列化版本号
|
||||
|
||||
/**
|
||||
* 记录ID
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private String id;
|
||||
@TableId(value = "id") // 主键字段映射到数据库中的 id 列
|
||||
private String id; // 通知的唯一标识符
|
||||
|
||||
/**
|
||||
/**
|
||||
* 通知标题
|
||||
*/
|
||||
@TableField(value = "title")
|
||||
private String title;
|
||||
@TableField(value = "title") // 字段映射到数据库中的 title 列
|
||||
private String title; // 通知的标题内容
|
||||
|
||||
/**
|
||||
/**
|
||||
* 通知详情
|
||||
*/
|
||||
@TableField(value = "detail")
|
||||
private String detail;
|
||||
@TableField(value = "detail") // 字段映射到数据库中的 detail 列
|
||||
private String detail; // 通知的具体内容
|
||||
|
||||
/**
|
||||
/**
|
||||
* 发布时间
|
||||
*/
|
||||
@TableField(value = "create_time")
|
||||
private String createTime;
|
||||
@TableField(value = "create_time") // 字段映射到数据库中的 create_time 列
|
||||
private String createTime; // 通知发布时间
|
||||
|
||||
/**
|
||||
/**
|
||||
* 发布社团
|
||||
*/
|
||||
@TableField(value = "team_id")
|
||||
private String teamId;
|
||||
|
||||
|
||||
public String getId(){
|
||||
@TableField(value = "team_id") // 字段映射到数据库中的 team_id 列
|
||||
private String teamId; // 通知所属社团的唯一标识符
|
||||
|
||||
// Getter 和 Setter 方法
|
||||
public String getId(){ // 获取通知 ID
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id){
|
||||
|
||||
public void setId(String id){ // 设置通知 ID
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
public String getTitle(){
|
||||
|
||||
public String getTitle(){ // 获取通知标题
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title){
|
||||
|
||||
public void setTitle(String title){ // 设置通知标题
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
|
||||
public String getDetail(){
|
||||
|
||||
public String getDetail(){ // 获取通知详情
|
||||
return detail;
|
||||
}
|
||||
|
||||
public void setDetail(String detail){
|
||||
|
||||
public void setDetail(String detail){ // 设置通知详情
|
||||
this.detail = detail;
|
||||
}
|
||||
|
||||
|
||||
public String getCreateTime(){
|
||||
|
||||
public String getCreateTime(){ // 获取发布时间
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime){
|
||||
|
||||
public void setCreateTime(String createTime){ // 设置发布时间
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
|
||||
public String getTeamId(){
|
||||
|
||||
public String getTeamId(){ // 获取发布社团 ID
|
||||
return teamId;
|
||||
}
|
||||
|
||||
public void setTeamId(String teamId){
|
||||
|
||||
public void setTeamId(String teamId){ // 设置发布社团 ID
|
||||
this.teamId = teamId;
|
||||
}
|
||||
|
||||
|
||||
// 自定义 toString 方法
|
||||
@Override
|
||||
public String toString() {
|
||||
|
||||
return "Notices [id=" + id
|
||||
return "Notices [id=" + id // 返回通知的基本信息
|
||||
+ ", title=" + title
|
||||
+ ", detail=" + detail
|
||||
+ ", createTime=" + createTime
|
||||
+ ", teamId=" + teamId
|
||||
+ "]";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,115 +1,99 @@
|
||||
package self.cases.teams.entity;
|
||||
package self.cases.teams.entity; // 定义包路径
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.io.Serializable;
|
||||
import com.baomidou.mybatisplus.annotation.TableField; // 引入 MyBatis-Plus 的字段注解
|
||||
import com.baomidou.mybatisplus.annotation.TableId; // 引入 MyBatis-Plus 的主键注解
|
||||
import com.baomidou.mybatisplus.annotation.TableName; // 引入 MyBatis-Plus 的表名注解
|
||||
import java.io.Serializable; // 引入序列化接口
|
||||
|
||||
/**
|
||||
* 数据实体类
|
||||
* 缴费记录
|
||||
*/
|
||||
@TableName(value = "pay_logs")
|
||||
public class PayLogs implements Serializable {
|
||||
@TableName(value = "pay_logs") // 表名映射为 pay_logs
|
||||
public class PayLogs implements Serializable { // 实现 Serializable 接口,支持序列化
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = 1L; // 序列化版本号
|
||||
|
||||
/**
|
||||
* 记录ID
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private String id;
|
||||
@TableId(value = "id") // 主键字段映射到数据库中的 id 列
|
||||
private String id; // 缴费记录的唯一标识符
|
||||
|
||||
/**
|
||||
/**
|
||||
* 缴费时间
|
||||
*/
|
||||
@TableField(value = "create_time")
|
||||
private String createTime;
|
||||
@TableField(value = "create_time") // 字段映射到数据库中的 create_time 列
|
||||
private String createTime; // 缴费发生的日期时间
|
||||
|
||||
/**
|
||||
/**
|
||||
* 缴纳费用
|
||||
*/
|
||||
@TableField(value = "total")
|
||||
private Double total;
|
||||
@TableField(value = "total") // 字段映射到数据库中的 total 列
|
||||
private Double total; // 缴纳的总金额
|
||||
|
||||
/**
|
||||
/**
|
||||
* 收费社团
|
||||
*/
|
||||
@TableField(value = "team_id")
|
||||
private String teamId;
|
||||
@TableField(value = "team_id") // 字段映射到数据库中的 team_id 列
|
||||
private String teamId; // 缴费对应的社团唯一标识符
|
||||
|
||||
/**
|
||||
/**
|
||||
* 缴费用户
|
||||
*/
|
||||
@TableField(value = "user_id")
|
||||
private String userId;
|
||||
|
||||
|
||||
public String getId(){
|
||||
@TableField(value = "user_id") // 字段映射到数据库中的 user_id 列
|
||||
private String userId; // 缴费用户的唯一标识符
|
||||
|
||||
// Getter 和 Setter 方法
|
||||
public String getId(){ // 获取缴费记录 ID
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id){
|
||||
|
||||
public void setId(String id){ // 设置缴费记录 ID
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
public String getCreateTime(){
|
||||
|
||||
public String getCreateTime(){ // 获取缴费时间
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(String createTime){
|
||||
|
||||
public void setCreateTime(String createTime){ // 设置缴费时间
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
|
||||
public Double getTotal(){
|
||||
|
||||
public Double getTotal(){ // 获取缴纳费用
|
||||
return total;
|
||||
}
|
||||
|
||||
public void setTotal(Double total){
|
||||
|
||||
public void setTotal(Double total){ // 设置缴纳费用
|
||||
this.total = total;
|
||||
}
|
||||
|
||||
|
||||
public String getTeamId(){
|
||||
|
||||
public String getTeamId(){ // 获取收费社团 ID
|
||||
return teamId;
|
||||
}
|
||||
|
||||
public void setTeamId(String teamId){
|
||||
|
||||
public void setTeamId(String teamId){ // 设置收费社团 ID
|
||||
this.teamId = teamId;
|
||||
}
|
||||
|
||||
|
||||
public String getUserId(){
|
||||
|
||||
public String getUserId(){ // 获取缴费用户 ID
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId){
|
||||
|
||||
public void setUserId(String userId){ // 设置缴费用户 ID
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
|
||||
// 自定义 toString 方法
|
||||
@Override
|
||||
public String toString() {
|
||||
|
||||
return "PayLogs [id=" + id
|
||||
return "PayLogs [id=" + id // 返回缴费记录的基本信息
|
||||
+ ", createTime=" + createTime
|
||||
+ ", total=" + total
|
||||
+ ", teamId=" + teamId
|
||||
+ ", userId=" + userId
|
||||
+ "]";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue