package com.zbkj.common.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zbkj.common.model.home.HomeProducts;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="HomeVo", description="楼层信息")
public class HomeVo implements Serializable {

    private static final long serialVersionUID=1L;

    private Integer id;
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;
    /**
     * 列表路径
     */
    @ApiModelProperty(value = "列表路径")
    private String directUrl;
    /**
     * 图片
     */
    @ApiModelProperty(value = "图片")
    private String imgUrl;
    /**
     * 跳转id（list_ids/product_id）
     */
    @ApiModelProperty(value = "跳转id（list_ids/product_id）")
    private String jumpIds;
    /**
     * 跳转类型1，列表0，详情
     */
    @ApiModelProperty(value = "跳转类型1，列表0，详情")
    private Integer jumpType;

    @Transient
    @TableField(exist = false)
    private Object products;

}
