package com.ks.app.entity.feedback;
|
|
import com.ks.app.entity.SystemEnum;
|
import org.springframework.data.annotation.Id;
|
import org.springframework.data.mongodb.core.index.Indexed;
|
import org.springframework.data.mongodb.core.mapping.Document;
|
import org.yeshi.utils.generater.annotation.admin.AdminController;
|
import org.yeshi.utils.generater.annotation.admin.DaoQueryCondition;
|
import org.yeshi.utils.generater.annotation.admin.Show;
|
import org.yeshi.utils.generater.entity.CommonSearchForm;
|
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* @author hxh
|
* @title: Advice
|
* @description: 隐私投诉
|
* @date 2021/12/2 11:55
|
*/
|
@Document(collection = "privacyComplain")
|
@AdminController(mapping = "/admin/api/feedback/privacy", title = "用户反馈", delete = false, edit = false, searchForm = CommonSearchForm.class)
|
public class PrivacyComplain {
|
|
@Id
|
private String id;
|
|
@DaoQueryCondition
|
@Indexed
|
private SystemEnum system;
|
|
@Show(title = "用户ID")
|
@DaoQueryCondition
|
@Indexed
|
private Long uid;
|
|
@Show(title = "设备ID")
|
private String device;
|
|
|
|
@Show(title = "投诉内容")
|
private String content;
|
|
@Show(title = "投诉图片")
|
private List<String> imgList;
|
|
@Show(title = "创建时间")
|
@DaoQueryCondition
|
@Indexed
|
private Date createTime;
|
private Date updateTime;
|
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public SystemEnum getSystem() {
|
return system;
|
}
|
|
public void setSystem(SystemEnum system) {
|
this.system = system;
|
}
|
|
public Long getUid() {
|
return uid;
|
}
|
|
public void setUid(Long uid) {
|
this.uid = uid;
|
}
|
|
public String getDevice() {
|
return device;
|
}
|
|
public void setDevice(String device) {
|
this.device = device;
|
}
|
|
public List<String> getImgList() {
|
return imgList;
|
}
|
|
public void setImgList(List<String> imgList) {
|
this.imgList = imgList;
|
}
|
|
public String getContent() {
|
return content;
|
}
|
|
public void setContent(String content) {
|
this.content = content;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
}
|