package com.heketai.website.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 * 门户菜单内容图片
 */
@Data
@TableName("website_content_image")
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@SuppressWarnings("all")
public class WebsiteContentImage extends Model<WebsiteContentImage> {

    private static final long serialVersionUID = 11411313131311L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer contentId;

    private String title;

    private String remark;

    private Integer sort;

    private String image;

    private String imageName;

    private String skipUil;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
