package com.ghy.worker.domain;

import com.ghy.common.annotation.Excel;
import com.ghy.common.core.domain.BaseEntity;
import com.ghy.system.domain.SysArea;
import lombok.Data;

import java.util.List;

/**
 * @author clunt
 * 师傅服务区域
 */
@Data
public class WorkerArea extends BaseEntity {

    @Excel(name = "师傅服务区域关联id")
    private Long workerAreaId;

    @Excel(name = "师傅id", cellType = Excel.ColumnType.NUMERIC)
    private Long workerId;

    @Excel(name = "省份区域id", cellType = Excel.ColumnType.NUMERIC)
    private Long provinceId;
    private SysArea provinceArea;

    @Excel(name = "市区域id", cellType = Excel.ColumnType.NUMERIC)
    private Long cityId;
    private SysArea cityArea;

    private List<Long> cityIds;

    @Excel(name = "区/县区域id", cellType = Excel.ColumnType.NUMERIC)
    private Long districtId;
    private SysArea districtArea;

    private List<Long> districtIds;

    @Excel(name = "街道区域id", cellType = Excel.ColumnType.NUMERIC)
    private Long streetId;

    private List<String> streetIds;

    private String mergerName;

    /**
     * 服务类型：1=服务, 2=商品
     */
    private Integer serviceType;
}
