You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package com.entity.model ;
import com.entity.ForumEntity ;
import com.baomidou.mybatisplus.annotations.TableName ;
import com.fasterxml.jackson.annotation.JsonFormat ;
import java.util.Date ;
import org.springframework.format.annotation.DateTimeFormat ;
import java.io.Serializable ;
/**
* 论坛表
* 接收传参的实体类
*(实际开发中配合移动端接口开发手动去掉些没用的字段, 后端一般用entity就够用了)
* 取自ModelAndView 的model名称
* @author
* @email
* @date 2023-02-21 09:46:06
*/
public class ForumModel implements Serializable {
private static final long serialVersionUID = 1L ;
/**
* 帖子内容
*/
private String content ;
/**
* 父节点id
*/
private Long parentid ;
/**
* 用户id
*/
private Long userid ;
/**
* 用户名
*/
private String username ;
/**
* 头像
*/
private String avatarurl ;
/**
* 状态
*/
private String isdone ;
/**
* 设置:帖子内容
*/
public void setContent ( String content ) {
this . content = content ;
}
/**
* 获取:帖子内容
*/
public String getContent ( ) {
return content ;
}
/**
* 设置: 父节点id
*/
public void setParentid ( Long parentid ) {
this . parentid = parentid ;
}
/**
* 获取: 父节点id
*/
public Long getParentid ( ) {
return parentid ;
}
/**
* 设置: 用户id
*/
public void setUserid ( Long userid ) {
this . userid = userid ;
}
/**
* 获取: 用户id
*/
public Long getUserid ( ) {
return userid ;
}
/**
* 设置:用户名
*/
public void setUsername ( String username ) {
this . username = username ;
}
/**
* 获取:用户名
*/
public String getUsername ( ) {
return username ;
}
/**
* 设置:头像
*/
public void setAvatarurl ( String avatarurl ) {
this . avatarurl = avatarurl ;
}
/**
* 获取:头像
*/
public String getAvatarurl ( ) {
return avatarurl ;
}
/**
* 设置:状态
*/
public void setIsdone ( String isdone ) {
this . isdone = isdone ;
}
/**
* 获取:状态
*/
public String getIsdone ( ) {
return isdone ;
}
}