package com.xiaoniu.system.platformsettings.storetype.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 门店类型信息表
 * </p>
 *
 * @author haoxuyang
 * @since 2024-10-11 02:13:07
 */
@Getter
@Setter
@TableName("tb_store_type")
@Schema(name = "TbStoreType", description = "门店类型信息表")
public class TbStoreType implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "父id")
    private Long parentId;

    @Schema(description = "门店类型名称")
    private String name;

    @Schema(description = "门店类型状态（1-展示 2-隐藏）")
    private Integer status;

    @Schema(description = "类型 1-门店类型 2-经营范围")
    private Integer type;

    @Schema(description = "图片")
    private String picture;

    @Schema(description = "已经开店数量")
    private Integer storesOpenedNum;

    @Schema(description = "删除标记（0-正常，2-删除）")
    private Integer delFlag;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "创建者")
    private String createBy;

    @Schema(description = "创建",hidden = true)
    private Date createTime;

    @Schema(description = "更新者")
    private String updateBy;

    @Schema(description = "更新时间",hidden = true)
    private Date updateTime;

    @Schema(description = "备注")
    private String remark;
}
