package com.zfire.jiasm.syncdata.plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 高德地图与品牌定位对应关系
 * </p>
 *
 * @author gejiang
 * @since 2023-07-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BrandLbsRelate对象", description="高德地图与品牌定位对应关系")
public class BrandLbsRelate extends Model<BrandLbsRelate> {

    private static final long serialVersionUID=1L;

    @TableId(value = "brand_lbs_relate_id", type = IdType.ID_WORKER_STR)
    private String brandLbsRelateId;

    @ApiModelProperty(value = "品牌id")
    private String brandId;

    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    @ApiModelProperty(value = "派工省")
    private String provinceId;

    @ApiModelProperty(value = "派工市")
    private String cityId;

    @ApiModelProperty(value = "派工区县")
    private String areaId;

    @ApiModelProperty(value = "派工镇")
    private String streetId;

    @ApiModelProperty(value = "定位省id")
    private String lbsProvinceId;

    @ApiModelProperty(value = "定位省")
    private String lbsProvinceName;

    @ApiModelProperty(value = "定位省城市编码")
    private String lbsProvinceCityCode;

    @ApiModelProperty(value = "定位省区域编码")
    private String lbsProvinceAdCode;

    @ApiModelProperty(value = "定位省区域中心点")
    private String lbsProvinceCenter;

    @ApiModelProperty(value = "定位市id")
    private String lbsCityId;

    @ApiModelProperty(value = "定位市")
    private String lbsCityName;

    @ApiModelProperty(value = "定位市城市编码")
    private String lbsCityCityCode;

    @ApiModelProperty(value = "定位市区域编码")
    private String lbsCityAdCode;

    @ApiModelProperty(value = "定位市区域中心点")
    private String lbsCityCenter;

    @ApiModelProperty(value = "定位区id")
    private String lbsDistrictId;

    @ApiModelProperty(value = "定位区")
    private String lbsDistrictName;

    @ApiModelProperty(value = "定位区城市编码")
    private String lbsDistrictCityCode;

    @ApiModelProperty(value = "定位区区域编码")
    private String lbsDistrictAdCode;

    @ApiModelProperty(value = "定位区区域中心点")
    private String lbsDistrictCenter;

    @ApiModelProperty(value = "定位街道id")
    private String lbsStreetId;

    @ApiModelProperty(value = "定位街道")
    private String lbsStreetName;

    @ApiModelProperty(value = "定位街道城市编码")
    private String lbsStreetCityCode;

    @ApiModelProperty(value = "定位街道区域编码")
    private String lbsStreetAdCode;

    @ApiModelProperty(value = "定位街道区域中心点")
    private String lbsStreetCenter;

    @ApiModelProperty(value = "创建人")
    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "true:已删除，false:未删除")
    @TableLogic
    private Boolean del;


    @Override
    protected Serializable pkVal() {
        return this.brandLbsRelateId;
    }

}
