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

import java.math.BigDecimal;
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.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 2022-12-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ProviderInformation对象", description="服务商表")
public class ProviderInformation extends Model<ProviderInformation> {

    private static final long serialVersionUID=1L;

    @TableId(value = "provider_id", type = IdType.ID_WORKER_STR)
    private String providerId;

    @ApiModelProperty(value = "服务类目id")
    private String serviceCategoryId;

    @ApiModelProperty(value = "服务类目")
    private String serviceCategoryName;

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

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

    @ApiModelProperty(value = "服务商编号")
    private String serviceCode;

    @ApiModelProperty(value = "服务商名称")
    private String serviceName;

    @ApiModelProperty(value = "负责人")
    private String personName;

    @ApiModelProperty(value = "负责人手机")
    private String phone;

    @ApiModelProperty(value = "电话号码")
    private String telPhone;

    @ApiModelProperty(value = "服务热线")
    private String hotline;

    @ApiModelProperty(value = "是否独立法人 YES是 NO否")
    private String legal;

    @ApiModelProperty(value = "法人代表")
    private String legalPerson;

    @ApiModelProperty(value = "法人身份证")
    private String legalIdCard;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "区")
    private String area;

    @ApiModelProperty(value = "街道")
    private String street;

    @ApiModelProperty(value = "收货地址")
    private String receAddress;

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

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

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

    @ApiModelProperty(value = "街道")
    private String streetId;

    @ApiModelProperty(value = " 网点性质   ONLY_SELL只卖不装  SELL_INSTALL自卖自装")
    private String networkType;

    @ApiModelProperty(value = "经营面积")
    private String businessArea;

    @ApiModelProperty(value = "展示品牌")
    private String showBrand;

    @ApiModelProperty(value = "办公面积")
    private String officeArea;

    @ApiModelProperty(value = "营业执照")
    private String businessLicense;

    @ApiModelProperty(value = "仓库面积")
    private String warehouseArea;

    @ApiModelProperty(value = "专卖店编号")
    private String shopNo;

    @ApiModelProperty(value = "展示品类")
    private String showCategory;

    @ApiModelProperty(value = "邮编")
    private String postalCode;

    @ApiModelProperty(value = "电商签约网点  YES是  NO否")
    private String onlineRetailers;

    @ApiModelProperty(value = "电商专员")
    private String onlineSpecialist;

    @ApiModelProperty(value = "电商专员电话")
    private String specialistPhone;

    @ApiModelProperty(value = "ON有效  OFF无效")
    private String status;

    @ApiModelProperty(value = "保证金")
    private BigDecimal bond;

    @ApiModelProperty(value = "保证金时间")
    private Date bondTime;

    @ApiModelProperty(value = "备注")
    private String notes;

    @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 = "自动派工 ON开启 OFF关闭")
    private String autoStatus;

    @ApiModelProperty(value = "工程师签到人脸识别 ON开启 OFF关闭")
    private String faceStatus;


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

}
