package com.ruoyi.basic.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * <p>
 * 门店表
 * </p>
 *
 * @author xn
 * @since 2022-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("yj_store")
public class YjStore implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "dept_id", type = IdType.ASSIGN_UUID)
    private Long id;
    //总店id
    @TableField(exist = false)
    private Long parentId;
    //租户id
    @TableField(exist = false)
    private String tenantId;

    @ApiModelProperty("banner图")
    private String banner;
    @ApiModelProperty("门店名称")
    private String storeName;
    //地址
    private String address;
    //电话
    private String phone;
    //创始人/店长简介（富文本）
    private String founder;
    // 企业/门店简介（富文本）
    private String profile;

    @TableField(exist = false)
    private List<YjStore> childList;





}
