package com.bonus.canteen.core.basic.domain;

import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 区域对象 basic_area
 * 
 * @author xsheng
 * @date 2025-05-25
 */


@Data
@ToString
public class BasicArea extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long areaId;

    /** 当前区域名称 */
    @Excel(name = "当前区域名称")
    @ApiModelProperty(value = "当前区域名称")
    private String areaName;

    /** 上级区域id */
    @Excel(name = "上级区域id")
    @ApiModelProperty(value = "上级区域id")
    private Long parentId;

    /** 负责人 */
    @Excel(name = "负责人")
    @ApiModelProperty(value = "负责人")
    private String manager;

    /** 区域描述 */
    @Excel(name = "区域描述")
    @ApiModelProperty(value = "区域描述")
    private String description;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String contactTel;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    private List<BasicArea> children = new ArrayList();

}
