feat: user related logic refactor
This commit is contained in:
@@ -3,16 +3,27 @@ package xin.merlin.myplayerbackend.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@TableName("audit")
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class Audit {
|
||||
@TableId("a_id")
|
||||
private Integer a_id;
|
||||
|
||||
// 约定:type == 0 已通过审核, 1 用户头像待审核, 2 群聊头像待审核, 3 playroom头像待审核, 4 修改邮箱请求, 5 已经通过验证的邮箱修改请求, 6 已过期的审核请求
|
||||
private Integer type;
|
||||
private Integer applicant;
|
||||
private Integer influence;
|
||||
private String changed;
|
||||
|
||||
public Audit(Integer type,Integer applicant,Integer influence,String changed) {
|
||||
this.type = type;
|
||||
this.applicant = applicant;
|
||||
this.influence = influence;
|
||||
this.changed = changed;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user