增加信息反馈
This commit is contained in:
@@ -0,0 +1,191 @@
|
||||
package com.ruoyi.common.core.domain.entity;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.ruoyi.common.annotation.Excel;
|
||||
import com.ruoyi.common.core.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 用户反馈对象 user_feedback
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2025-08-21
|
||||
*/
|
||||
public class UserFeedback extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 唯一标识符 */
|
||||
private String id;
|
||||
|
||||
/** 反馈内容 */
|
||||
@Excel(name = "反馈内容")
|
||||
private String feedbackContent;
|
||||
|
||||
/** 用户姓名 */
|
||||
@Excel(name = "用户姓名")
|
||||
private String userName;
|
||||
|
||||
/** 联系方式类型 */
|
||||
@Excel(name = "联系方式类型")
|
||||
private String contactType;
|
||||
|
||||
/** 联系方式信息 */
|
||||
@Excel(name = "联系方式信息")
|
||||
private String contactInfo;
|
||||
|
||||
/** 处理状态 */
|
||||
@Excel(name = "处理状态")
|
||||
private String status;
|
||||
|
||||
/** 创建时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date createdAt;
|
||||
|
||||
/** 更新时间 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date updatedAt;
|
||||
|
||||
/** 用户IP地址 */
|
||||
@Excel(name = "用户IP地址")
|
||||
private String ipAddress;
|
||||
|
||||
/** 用户浏览器信息 */
|
||||
@Excel(name = "用户浏览器信息")
|
||||
private String userAgent;
|
||||
|
||||
/** 附件路径(如果有) */
|
||||
@Excel(name = "附件路径", readConverterExp = "如=果有")
|
||||
private String attachmentPath;
|
||||
|
||||
public void setId(String id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setFeedbackContent(String feedbackContent)
|
||||
{
|
||||
this.feedbackContent = feedbackContent;
|
||||
}
|
||||
|
||||
public String getFeedbackContent()
|
||||
{
|
||||
return feedbackContent;
|
||||
}
|
||||
|
||||
public void setUserName(String userName)
|
||||
{
|
||||
this.userName = userName;
|
||||
}
|
||||
|
||||
public String getUserName()
|
||||
{
|
||||
return userName;
|
||||
}
|
||||
|
||||
public void setContactType(String contactType)
|
||||
{
|
||||
this.contactType = contactType;
|
||||
}
|
||||
|
||||
public String getContactType()
|
||||
{
|
||||
return contactType;
|
||||
}
|
||||
|
||||
public void setContactInfo(String contactInfo)
|
||||
{
|
||||
this.contactInfo = contactInfo;
|
||||
}
|
||||
|
||||
public String getContactInfo()
|
||||
{
|
||||
return contactInfo;
|
||||
}
|
||||
|
||||
public void setStatus(String status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setCreatedAt(Date createdAt)
|
||||
{
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
|
||||
public Date getCreatedAt()
|
||||
{
|
||||
return createdAt;
|
||||
}
|
||||
|
||||
public void setUpdatedAt(Date updatedAt)
|
||||
{
|
||||
this.updatedAt = updatedAt;
|
||||
}
|
||||
|
||||
public Date getUpdatedAt()
|
||||
{
|
||||
return updatedAt;
|
||||
}
|
||||
|
||||
public void setIpAddress(String ipAddress)
|
||||
{
|
||||
this.ipAddress = ipAddress;
|
||||
}
|
||||
|
||||
public String getIpAddress()
|
||||
{
|
||||
return ipAddress;
|
||||
}
|
||||
|
||||
public void setUserAgent(String userAgent)
|
||||
{
|
||||
this.userAgent = userAgent;
|
||||
}
|
||||
|
||||
public String getUserAgent()
|
||||
{
|
||||
return userAgent;
|
||||
}
|
||||
|
||||
public void setAttachmentPath(String attachmentPath)
|
||||
{
|
||||
this.attachmentPath = attachmentPath;
|
||||
}
|
||||
|
||||
public String getAttachmentPath()
|
||||
{
|
||||
return attachmentPath;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("feedbackContent", getFeedbackContent())
|
||||
.append("userName", getUserName())
|
||||
.append("contactType", getContactType())
|
||||
.append("contactInfo", getContactInfo())
|
||||
.append("status", getStatus())
|
||||
.append("createdAt", getCreatedAt())
|
||||
.append("updatedAt", getUpdatedAt())
|
||||
.append("ipAddress", getIpAddress())
|
||||
.append("userAgent", getUserAgent())
|
||||
.append("attachmentPath", getAttachmentPath())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user