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.
92 lines
1.3 KiB
92 lines
1.3 KiB
package com.entity.vo;
|
|
|
|
import com.entity.NewsEntity;
|
|
|
|
import com.baomidou.mybatisplus.annotations.TableName;
|
|
import java.util.Date;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import java.io.Serializable;
|
|
|
|
|
|
/**
|
|
* 菜品资讯
|
|
* 手机端接口返回实体辅助类
|
|
* (主要作用去除一些不必要的字段)
|
|
* @author
|
|
* @email
|
|
* @date 2021-03-20 21:35:41
|
|
*/
|
|
public class NewsVO implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
/**
|
|
* 简介
|
|
*/
|
|
|
|
private String introduction;
|
|
|
|
/**
|
|
* 图片
|
|
*/
|
|
|
|
private String picture;
|
|
|
|
/**
|
|
* 内容
|
|
*/
|
|
|
|
private String content;
|
|
|
|
|
|
/**
|
|
* 设置:简介
|
|
*/
|
|
|
|
public void setIntroduction(String introduction) {
|
|
this.introduction = introduction;
|
|
}
|
|
|
|
/**
|
|
* 获取:简介
|
|
*/
|
|
public String getIntroduction() {
|
|
return introduction;
|
|
}
|
|
|
|
|
|
/**
|
|
* 设置:图片
|
|
*/
|
|
|
|
public void setPicture(String picture) {
|
|
this.picture = picture;
|
|
}
|
|
|
|
/**
|
|
* 获取:图片
|
|
*/
|
|
public String getPicture() {
|
|
return picture;
|
|
}
|
|
|
|
|
|
/**
|
|
* 设置:内容
|
|
*/
|
|
|
|
public void setContent(String content) {
|
|
this.content = content;
|
|
}
|
|
|
|
/**
|
|
* 获取:内容
|
|
*/
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
}
|