答案回复
| 23 | * |
| 24 | */ |
| 25 | @Getter |
| 26 | @Setter |
| 27 | @Entity |
| 28 | @Table(name="answerreply",indexes = {@Index(name="answerReply_1_idx", columnList="answerId,status"),@Index(name="answerReply_2_idx", columnList="questionId"),@Index(name="answerReply_3_idx", columnList="userName,isStaff")}) |
| 29 | public class AnswerReply implements Serializable{ |
| 30 | @Serial |
| 31 | private static final long serialVersionUID = 4931492011929337590L; |
| 32 | |
| 33 | /** Id **/ |
| 34 | @Id @GeneratedValue(strategy = GenerationType.IDENTITY) |
| 35 | private Long id; |
| 36 | /** 是否是员工 true:员工 false:会员 **/ |
| 37 | private Boolean isStaff = false; |
| 38 | /** 用户名称 **/ |
| 39 | @Column(length=30) |
| 40 | private String userName; |
| 41 | /** 账号 **/ |
| 42 | @Transient |
| 43 | private String account; |
| 44 | /** 呢称 **/ |
| 45 | @Transient |
| 46 | private String nickname; |
| 47 | /** 头像路径 **/ |
| 48 | @Transient |
| 49 | private String avatarPath; |
| 50 | /** 头像名称 **/ |
| 51 | @Transient |
| 52 | private String avatarName; |
| 53 | |
| 54 | |
| 55 | /** 对方回复Id **/ |
| 56 | private Long friendReplyId; |
| 57 | /** 对方回复Id组 **/ |
| 58 | @Lob |
| 59 | private String friendReplyIdGroup = ",0,"; |
| 60 | /** 对方是否是员工 true:员工 false:会员 **/ |
| 61 | private Boolean isFriendStaff = false; |
| 62 | /** 对方用户名称 **/ |
| 63 | @Column(length=30) |
| 64 | private String friendUserName; |
| 65 | /** 对方账号 **/ |
| 66 | @Transient |
| 67 | private String friendAccount; |
| 68 | /** 对方呢称 **/ |
| 69 | @Transient |
| 70 | private String friendNickname; |
| 71 | /** 对方头像路径 **/ |
| 72 | @Transient |
| 73 | private String friendAvatarPath; |
| 74 | /** 对方头像名称 **/ |
| 75 | @Transient |
| 76 | private String friendAvatarName; |
| 77 | |
| 78 | /** 用户信息状态 -30.账号已注销(不显示数据) -20.账号已逻辑删除(不显示数据) -10.账号已禁用(不显示数据) 0.正常 10.账号已禁用(显示数据) 20.账号已逻辑删除(显示数据) **/ |
| 79 | @Transient |
| 80 | private Integer userInfoStatus = 0; |
| 81 | /** 用户角色名称集合 **/ |
| 82 | @Transient |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…