mirror of
https://github.com/ZSCNetSupportDept/WechatTicketSystem.git
synced 2025-10-30 18:06:19 +08:00
dashboard feature
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
package love.sola.netsupport.pojo;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.ToString;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
@@ -17,6 +19,7 @@ import javax.persistence.Table;
|
||||
*/
|
||||
|
||||
@Data
|
||||
@ToString(exclude = "password")
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Entity
|
||||
@@ -33,9 +36,11 @@ public class Operator {
|
||||
@Column(name = "access", nullable = false, insertable = false, updatable = false)
|
||||
private Integer access;
|
||||
@Column(name = "wechat", insertable = false, updatable = false)
|
||||
@Expose(serialize = false)
|
||||
private String wechat;
|
||||
private Integer block;
|
||||
private Integer week;
|
||||
@Expose(serialize = false)
|
||||
private String password;
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package love.sola.netsupport.pojo;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
@@ -34,6 +35,7 @@ public class User {
|
||||
private ISP isp;
|
||||
@Column(name = "netaccount")
|
||||
private String netAccount;
|
||||
@Expose(serialize = false)
|
||||
@Column(name = "wechat")
|
||||
private String wechatId;
|
||||
private Integer block;
|
||||
|
||||
Reference in New Issue
Block a user