添加用户反馈
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package org.jiayunet.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.jiayunet.pojo.po.UserFeedback;
|
||||
|
||||
/**
|
||||
* 用户反馈Mapper
|
||||
*
|
||||
* @author zk
|
||||
*/
|
||||
@Mapper
|
||||
public interface UserFeedbackMapper extends CommonMapper<UserFeedback> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
package org.jiayunet.pojo.po;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.Instant;
|
||||
|
||||
/**
|
||||
* 用户反馈表
|
||||
*
|
||||
* @author zk
|
||||
*/
|
||||
@Data
|
||||
@TableName(value = "bg_user_feedback")
|
||||
public class UserFeedback {
|
||||
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/** 用户ID */
|
||||
private Long userId;
|
||||
|
||||
/** 反馈类型 1=Bug反馈 2=功能建议 3=使用体验 4=订阅及会员权益相关问题 5=其它 */
|
||||
private Integer type;
|
||||
|
||||
/** 反馈内容,最多2000字 */
|
||||
private String content;
|
||||
|
||||
/** 创建时间 */
|
||||
private Instant createTime;
|
||||
}
|
||||
Reference in New Issue
Block a user