This commit is contained in:
tangzh 2025-03-13 20:39:39 +08:00
parent ca865242f3
commit 858570ad40

View File

@ -1,5 +1,6 @@
package com.zbkj.common.model.home; package com.zbkj.common.model.home;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
@ -13,64 +14,64 @@ import java.util.List;
@Data @Data
@TableName("eb_home") @TableName("eb_home")
public class Home implements Serializable { public class Home implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
/** /**
* *
*/ */
@TableId(value = "id", type = IdType.AUTO) @TableId(value = "id", type = IdType.AUTO)
private Integer id; private Integer id;
/** /**
* 名称 * 名称
*/ */
private String name; private String name;
/** /**
* 标题 * 标题
*/ */
private String title; private String title;
/** /**
* 排序 * 排序
*/ */
private Integer orderNo; private Integer orderNo;
/** /**
* 列表路径 * 列表路径
*/ */
private String directUrl; private String directUrl;
/** /**
* 是否有效 1有效0无效 * 是否有效 1有效0无效
*/ */
private Integer delFlag; private Integer delFlag;
/** /**
* 图片 * 图片
*/ */
private String imgUrl; private String imgUrl;
/** /**
* 跳转idlist_ids/product_id * 跳转idlist_ids/product_id
*/ */
private String jumpIds; private String jumpIds;
/** /**
* 跳转类型1列表0详情 * 跳转类型1列表0详情
*/ */
private Integer jumpType; private Integer jumpType;
/** /**
* 渠道:1首页楼层2套餐分类层 * 渠道:1首页楼层2套餐分类层
*/ */
private Integer type; private Integer type;
/** /**
* 业务编号:type=2 套餐分类(eb_category.id) * 业务编号:type=2 套餐分类(eb_category.id)
*/ */
private Integer business; private Integer business;
/** /**
* 创建时间 * 创建时间
*/ */
private Date createTime; private Date createTime;
/** /**
* 更新时间 * 更新时间
*/ */
private Date updateTime; private Date updateTime;
@Transient
@TableField(exist = false)
private List<HomeProducts> products;
@Transient
@TableField(exist = false)
private List<HomeProducts> products;
} }