package com.gxwebsoft.cms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 页面组件表
 *
 * @author 科技小王子
 * @since 2024-08-25 20:34:14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "DesignRecord对象", description = "页面组件表")
@TableName("cms_design_record")
public class DesignRecord implements Serializable {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "关联导航ID")
    private Integer navigationId;

    @ApiModelProperty(value = "组件")
    private String title;

    @ApiModelProperty(value = "组件标识")
    private String dictCode;

    @ApiModelProperty(value = "组件样式")
    private String styles;

    @ApiModelProperty(value = "页面关键词")
    private String keywords;

    @ApiModelProperty(value = "页面描述")
    private String description;

    @ApiModelProperty(value = "页面路由地址")
    private String path;

    @ApiModelProperty(value = "缩列图")
    private String photo;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "排序(数字越小越靠前)")
    private Integer sortNumber;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "状态, 0正常, 1冻结")
    private Integer status;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

}
