package com.seer.teach.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.seer.teach.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 首页布局配置表
 * </p>
 *
 * @author Wang
 * @since 2025-07-01 19:52:13
 */
@Getter
@Setter
@TableName("za_home_layout")
@Schema(name = "HomeLayoutEntity对象", description = "首页布局配置表")
public class HomeLayoutEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "区块名称")
    @TableField("block_name")
    private String blockName;

    @TableField("block_image_url")
    private String blockImageUrl;

    @Schema(description = "区块url")
    @TableField("block_url")
    private String blockUrl;

    @Schema(description = "区块类型")
    private String blockType;

    @Schema(description = "排序权重")
    @TableField("sort_order")
    private Integer sortOrder;

    @Schema(description = "状态: 0=禁用 1=启用")
    @TableField("`status`")
    private Integer status;


}
