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