From 0d541b4552db47876916ab3d7dc3afb8ea51d808 Mon Sep 17 00:00:00 2001 From: pz2femycj <1468034451@qq.com> Date: Mon, 28 Apr 2025 20:16:26 +0800 Subject: [PATCH] ADD file via upload --- JianshenkechengCollectionVO.java | 165 +++++++++++++++++++++++++++++++ 1 file changed, 165 insertions(+) create mode 100644 JianshenkechengCollectionVO.java diff --git a/JianshenkechengCollectionVO.java b/JianshenkechengCollectionVO.java new file mode 100644 index 0000000..9d007a6 --- /dev/null +++ b/JianshenkechengCollectionVO.java @@ -0,0 +1,165 @@ +package com.entity.vo; + +import com.entity.JianshenkechengCollectionEntity; +import com.baomidou.mybatisplus.annotations.TableField; +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; + +/** + * 课程收藏 + * 手机端接口返回实体辅助类 + * (主要作用去除一些不必要的字段) + */ +@TableName("jianshenkecheng_collection") +public class JianshenkechengCollectionVO implements Serializable { + private static final long serialVersionUID = 1L; + + + /** + * 主键 + */ + + @TableField(value = "id") + private Integer id; + + + /** + * 健身课程 + */ + + @TableField(value = "jianshenkecheng_id") + private Integer jianshenkechengId; + + + /** + * 用户 + */ + + @TableField(value = "yonghu_id") + private Integer yonghuId; + + + /** + * 类型 + */ + + @TableField(value = "jianshenkecheng_collection_types") + private Integer jianshenkechengCollectionTypes; + + + /** + * 收藏时间 + */ + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + + @TableField(value = "insert_time") + private Date insertTime; + + + /** + * 创建时间 show3 photoShow + */ + @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat + + @TableField(value = "create_time") + private Date createTime; + + + /** + * 设置:主键 + */ + public Integer getId() { + return id; + } + + + /** + * 获取:主键 + */ + + public void setId(Integer id) { + this.id = id; + } + /** + * 设置:健身课程 + */ + public Integer getJianshenkechengId() { + return jianshenkechengId; + } + + + /** + * 获取:健身课程 + */ + + public void setJianshenkechengId(Integer jianshenkechengId) { + this.jianshenkechengId = jianshenkechengId; + } + /** + * 设置:用户 + */ + public Integer getYonghuId() { + return yonghuId; + } + + + /** + * 获取:用户 + */ + + public void setYonghuId(Integer yonghuId) { + this.yonghuId = yonghuId; + } + /** + * 设置:类型 + */ + public Integer getJianshenkechengCollectionTypes() { + return jianshenkechengCollectionTypes; + } + + + /** + * 获取:类型 + */ + + public void setJianshenkechengCollectionTypes(Integer jianshenkechengCollectionTypes) { + this.jianshenkechengCollectionTypes = jianshenkechengCollectionTypes; + } + /** + * 设置:收藏时间 + */ + public Date getInsertTime() { + return insertTime; + } + + + /** + * 获取:收藏时间 + */ + + public void setInsertTime(Date insertTime) { + this.insertTime = insertTime; + } + /** + * 设置:创建时间 show3 photoShow + */ + public Date getCreateTime() { + return createTime; + } + + + /** + * 获取:创建时间 show3 photoShow + */ + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + +}