From bcea284632508d454e1969571233f02f84e693ef Mon Sep 17 00:00:00 2001 From: "2593162056@qq.com" <2593162056@qq.com> Date: Thu, 12 Dec 2024 13:19:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/entity/vo/NewsVO.java | 142 ++++---- src/main/java/com/entity/vo/StoreupVO.java | 308 ++++++++---------- .../java/com/entity/vo/SystemintroVO.java | 226 ++++++------- 3 files changed, 311 insertions(+), 365 deletions(-) diff --git a/src/main/java/com/entity/vo/NewsVO.java b/src/main/java/com/entity/vo/NewsVO.java index 7a0d951..e0eb5e4 100644 --- a/src/main/java/com/entity/vo/NewsVO.java +++ b/src/main/java/com/entity/vo/NewsVO.java @@ -1,14 +1,13 @@ -package com.entity.vo; +package com.entity.vo; // 定义包名 -import com.entity.NewsEntity; +import com.entity.NewsEntity; // 导入NewsEntity类 -import com.baomidou.mybatisplus.annotations.TableName; -import com.fasterxml.jackson.annotation.JsonFormat; -import java.util.Date; -import org.springframework.format.annotation.DateTimeFormat; +import com.baomidou.mybatisplus.annotations.TableName; // 导入MyBatis-Plus的TableName注解 +import com.fasterxml.jackson.annotation.JsonFormat; // 导入Jackson的JsonFormat注解 +import java.util.Date; // 导入Date类 +import org.springframework.format.annotation.DateTimeFormat; // 导入Spring的DateTimeFormat注解 -import java.io.Serializable; - +import java.io.Serializable; // 导入Serializable接口 /** * 公告信息 @@ -18,74 +17,63 @@ import java.io.Serializable; * @email * @date 2023-02-21 09:46:06 */ -public class NewsVO implements Serializable { - private static final long serialVersionUID = 1L; +public class NewsVO implements Serializable { // 定义NewsVO类,实现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; - } - + /** + * 简介 + */ + 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; + } } diff --git a/src/main/java/com/entity/vo/StoreupVO.java b/src/main/java/com/entity/vo/StoreupVO.java index 8d4e987..d9d4b17 100644 --- a/src/main/java/com/entity/vo/StoreupVO.java +++ b/src/main/java/com/entity/vo/StoreupVO.java @@ -1,14 +1,13 @@ -package com.entity.vo; +package com.entity.vo; // 定义包名 -import com.entity.StoreupEntity; +import com.entity.StoreupEntity; // 导入StoreupEntity类 -import com.baomidou.mybatisplus.annotations.TableName; -import com.fasterxml.jackson.annotation.JsonFormat; -import java.util.Date; -import org.springframework.format.annotation.DateTimeFormat; +import com.baomidou.mybatisplus.annotations.TableName; // 导入MyBatis-Plus的TableName注解 +import com.fasterxml.jackson.annotation.JsonFormat; // 导入Jackson的JsonFormat注解 +import java.util.Date; // 导入Date类 +import org.springframework.format.annotation.DateTimeFormat; // 导入Spring的DateTimeFormat注解 -import java.io.Serializable; - +import java.io.Serializable; // 导入Serializable接口 /** * 收藏表 @@ -18,162 +17,139 @@ import java.io.Serializable; * @email * @date 2023-02-21 09:46:06 */ -public class StoreupVO implements Serializable { - private static final long serialVersionUID = 1L; - - - /** - * 商品id - */ - - private Long refid; - - /** - * 表名 - */ - - private String tablename; - - /** - * 名称 - */ - - private String name; - - /** - * 图片 - */ - - private String picture; - - /** - * 类型(1:收藏,21:赞,22:踩,31:竞拍参与,41:关注) - */ - - private String type; - - /** - * 推荐类型 - */ - - private String inteltype; - - /** - * 备注 - */ - - private String remark; - - - /** - * 设置:商品id - */ - - public void setRefid(Long refid) { - this.refid = refid; - } - - /** - * 获取:商品id - */ - public Long getRefid() { - return refid; - } - - - /** - * 设置:表名 - */ - - public void setTablename(String tablename) { - this.tablename = tablename; - } - - /** - * 获取:表名 - */ - public String getTablename() { - return tablename; - } - - - /** - * 设置:名称 - */ - - public void setName(String name) { - this.name = name; - } - - /** - * 获取:名称 - */ - public String getName() { - return name; - } - - - /** - * 设置:图片 - */ - - public void setPicture(String picture) { - this.picture = picture; - } - - /** - * 获取:图片 - */ - public String getPicture() { - return picture; - } - - - /** - * 设置:类型(1:收藏,21:赞,22:踩,31:竞拍参与,41:关注) - */ - - public void setType(String type) { - this.type = type; - } - - /** - * 获取:类型(1:收藏,21:赞,22:踩,31:竞拍参与,41:关注) - */ - public String getType() { - return type; - } - - - /** - * 设置:推荐类型 - */ - - public void setInteltype(String inteltype) { - this.inteltype = inteltype; - } - - /** - * 获取:推荐类型 - */ - public String getInteltype() { - return inteltype; - } - - - /** - * 设置:备注 - */ - - public void setRemark(String remark) { - this.remark = remark; - } - - /** - * 获取:备注 - */ - public String getRemark() { - return remark; - } - +public class StoreupVO implements Serializable { // 定义StoreupVO类,实现Serializable接口 + private static final long serialVersionUID = 1L; // 定义序列化版本号 + + /** + * 商品id + */ + private Long refid; // 定义商品id字段 + + /** + * 表名 + */ + private String tablename; // 定义表名字段 + + /** + * 名称 + */ + private String name; // 定义名称字段 + + /** + * 图片 + */ + private String picture; // 定义图片字段 + + /** + * 类型(1:收藏,21:赞,22:踩,31:竞拍参与,41:关注) + */ + private String type; // 定义类型字段 + + /** + * 推荐类型 + */ + private String inteltype; // 定义推荐类型字段 + + /** + * 备注 + */ + private String remark; // 定义备注字段 + + /** + * 设置:商品id + */ + public void setRefid(Long refid) { // 设置商品id的方法 + this.refid = refid; + } + + /** + * 获取:商品id + */ + public Long getRefid() { // 获取商品id的方法 + return refid; + } + + /** + * 设置:表名 + */ + public void setTablename(String tablename) { // 设置表名的方法 + this.tablename = tablename; + } + + /** + * 获取:表名 + */ + public String getTablename() { // 获取表名的方法 + return tablename; + } + + /** + * 设置:名称 + */ + public void setName(String name) { // 设置名称的方法 + this.name = name; + } + + /** + * 获取:名称 + */ + public String getName() { // 获取名称的方法 + return name; + } + + /** + * 设置:图片 + */ + public void setPicture(String picture) { // 设置图片的方法 + this.picture = picture; + } + + /** + * 获取:图片 + */ + public String getPicture() { // 获取图片的方法 + return picture; + } + + /** + * 设置:类型(1:收藏,21:赞,22:踩,31:竞拍参与,41:关注) + */ + public void setType(String type) { // 设置类型的方法 + this.type = type; + } + + /** + * 获取:类型(1:收藏,21:赞,22:踩,31:竞拍参与,41:关注) + */ + public String getType() { // 获取类型的方法 + return type; + } + + /** + * 设置:推荐类型 + */ + public void setInteltype(String inteltype) { // 设置推荐类型的方法 + this.inteltype = inteltype; + } + + /** + * 获取:推荐类型 + */ + public String getInteltype() { // 获取推荐类型的方法 + return inteltype; + } + + /** + * 设置:备注 + */ + public void setRemark(String remark) { // 设置备注的方法 + this.remark = remark; + } + + /** + * 获取:备注 + */ + public String getRemark() { // 获取备注的方法 + return remark; + } } diff --git a/src/main/java/com/entity/vo/SystemintroVO.java b/src/main/java/com/entity/vo/SystemintroVO.java index 7a331ae..667ccd1 100644 --- a/src/main/java/com/entity/vo/SystemintroVO.java +++ b/src/main/java/com/entity/vo/SystemintroVO.java @@ -1,14 +1,13 @@ -package com.entity.vo; +package com.entity.vo; // 定义包名 -import com.entity.SystemintroEntity; +import com.entity.SystemintroEntity; // 导入SystemintroEntity类 -import com.baomidou.mybatisplus.annotations.TableName; -import com.fasterxml.jackson.annotation.JsonFormat; -import java.util.Date; -import org.springframework.format.annotation.DateTimeFormat; +import com.baomidou.mybatisplus.annotations.TableName; // 导入MyBatis-Plus的TableName注解 +import com.fasterxml.jackson.annotation.JsonFormat; // 导入Jackson的JsonFormat注解 +import java.util.Date; // 导入Date类 +import org.springframework.format.annotation.DateTimeFormat; // 导入Spring的DateTimeFormat注解 -import java.io.Serializable; - +import java.io.Serializable; // 导入Serializable接口 /** * 关于我们 @@ -18,118 +17,101 @@ import java.io.Serializable; * @email * @date 2023-02-21 09:46:06 */ -public class SystemintroVO implements Serializable { - private static final long serialVersionUID = 1L; - - - /** - * 副标题 - */ - - private String subtitle; - - /** - * 内容 - */ - - private String content; - - /** - * 图片1 - */ - - private String picture1; - - /** - * 图片2 - */ - - private String picture2; - - /** - * 图片3 - */ - - private String picture3; - - - /** - * 设置:副标题 - */ - - public void setSubtitle(String subtitle) { - this.subtitle = subtitle; - } - - /** - * 获取:副标题 - */ - public String getSubtitle() { - return subtitle; - } - - - /** - * 设置:内容 - */ - - public void setContent(String content) { - this.content = content; - } - - /** - * 获取:内容 - */ - public String getContent() { - return content; - } - - - /** - * 设置:图片1 - */ - - public void setPicture1(String picture1) { - this.picture1 = picture1; - } - - /** - * 获取:图片1 - */ - public String getPicture1() { - return picture1; - } - - - /** - * 设置:图片2 - */ - - public void setPicture2(String picture2) { - this.picture2 = picture2; - } - - /** - * 获取:图片2 - */ - public String getPicture2() { - return picture2; - } - - - /** - * 设置:图片3 - */ - - public void setPicture3(String picture3) { - this.picture3 = picture3; - } - - /** - * 获取:图片3 - */ - public String getPicture3() { - return picture3; - } - +public class SystemintroVO implements Serializable { // 定义SystemintroVO类,实现Serializable接口 + private static final long serialVersionUID = 1L; // 定义序列化版本号 + + /** + * 副标题 + */ + private String subtitle; // 定义副标题字段 + + /** + * 内容 + */ + private String content; // 定义内容字段 + + /** + * 图片1 + */ + private String picture1; // 定义图片1字段 + + /** + * 图片2 + */ + private String picture2; // 定义图片2字段 + + /** + * 图片3 + */ + private String picture3; // 定义图片3字段 + + /** + * 设置:副标题 + */ + public void setSubtitle(String subtitle) { // 设置副标题的方法 + this.subtitle = subtitle; + } + + /** + * 获取:副标题 + */ + public String getSubtitle() { // 获取副标题的方法 + return subtitle; + } + + /** + * 设置:内容 + */ + public void setContent(String content) { // 设置内容的方法 + this.content = content; + } + + /** + * 获取:内容 + */ + public String getContent() { // 获取内容的方法 + return content; + } + + /** + * 设置:图片1 + */ + public void setPicture1(String picture1) { // 设置图片1的方法 + this.picture1 = picture1; + } + + /** + * 获取:图片1 + */ + public String getPicture1() { // 获取图片1的方法 + return picture1; + } + + /** + * 设置:图片2 + */ + public void setPicture2(String picture2) { // 设置图片2的方法 + this.picture2 = picture2; + } + + /** + * 获取:图片2 + */ + public String getPicture2() { // 获取图片2的方法 + return picture2; + } + + /** + * 设置:图片3 + */ + public void setPicture3(String picture3) { // 设置图片3的方法 + this.picture3 = picture3; + } + + /** + * 获取:图片3 + */ + public String getPicture3() { // 获取图片3的方法 + return picture3; + } }