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.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="CustomerInformationWebsit对象", description="商户标识")
public class CustomerInformationWebsit extends Model<CustomerInformationWebsit> {

    private static final long serialVersionUID=1L;

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

    @ApiModelProperty(value = "集团公司id")
    private String groupCompanyId;

    @ApiModelProperty(value = "集团公司名称")
    private String groupCompanyName;

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

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

    @ApiModelProperty(value = "商户id")
    private String customerId;

    @ApiModelProperty(value = "商户网点id")
    private String websitId;

    @ApiModelProperty(value = "商户标识")
    private String flag;

    @ApiModelProperty(value = "品牌网点系统编号")
    private String refSysWebsitNumber;

    @ApiModelProperty(value = "品牌网点编码")
    private String refWebsitId;

    @ApiModelProperty(value = "品牌网点名称")
    private String refWebsitName;

    @ApiModelProperty(value = "售后中心编号")
    private String refAfterSaleWebsitId;

    @ApiModelProperty(value = "售后中心名称")
    private String refAfterSaleWebsitName;

    @ApiModelProperty(value = "上级销售中心编号")
    private String refParentSaleWebsitId;

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

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

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

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


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

}
