liu
2026-09-22 0837c3ff473499d8a267924125c776b34cc8b517
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
package com.ruoyi.system.domain;
 
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
 
/**
 * 学生-微信绑定对象 cj_student_bind
 * 
 * @author ruoyi
 * @date 2026-09-03
 */
public class CjStudentBind extends BaseEntity
{
    private static final long serialVersionUID = 1L;
 
    /** 主键 */
    private Long id;
 
    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;
 
    /** openid哈希(不可逆) */
    @Excel(name = "openid哈希(不可逆)")
    private String openidHash;
 
    /** 绑定方式(1学号+姓名 2短信 3绑定码) */
    @Excel(name = "绑定方式(1学号+姓名 2短信 3绑定码)")
    private String bindChannel;
 
    /** 绑定时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "绑定时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bindTime;
 
    /** 最近登录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最近登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastLoginTime;
 
    /** 状态(0有效 1解绑) */
    @Excel(name = "状态(0有效 1解绑)")
    private String status;
 
    public void setId(Long id) 
    {
        this.id = id;
    }
 
    public Long getId() 
    {
        return id;
    }
 
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }
 
    public Long getStudentId() 
    {
        return studentId;
    }
 
    public void setOpenidHash(String openidHash) 
    {
        this.openidHash = openidHash;
    }
 
    public String getOpenidHash() 
    {
        return openidHash;
    }
 
    public void setBindChannel(String bindChannel) 
    {
        this.bindChannel = bindChannel;
    }
 
    public String getBindChannel() 
    {
        return bindChannel;
    }
 
    public void setBindTime(Date bindTime) 
    {
        this.bindTime = bindTime;
    }
 
    public Date getBindTime() 
    {
        return bindTime;
    }
 
    public void setLastLoginTime(Date lastLoginTime) 
    {
        this.lastLoginTime = lastLoginTime;
    }
 
    public Date getLastLoginTime() 
    {
        return lastLoginTime;
    }
 
    public void setStatus(String status) 
    {
        this.status = status;
    }
 
    public String getStatus() 
    {
        return status;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("openidHash", getOpenidHash())
            .append("bindChannel", getBindChannel())
            .append("bindTime", getBindTime())
            .append("lastLoginTime", getLastLoginTime())
            .append("status", getStatus())
            .append("remark", getRemark())
            .toString();
    }
}