All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencent.ads.model.LocalStoreBizInfoStruct Maven / Gradle / Ivy

/*
 * Marketing API
 * Marketing API
 *
 * OpenAPI spec version: 1.3
 *
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */

package com.tencent.ads.model;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/** 门店经营信息 */
@ApiModel(description = "门店经营信息")
public class LocalStoreBizInfoStruct {
  @SerializedName("poi_id")
  private String poiId = null;

  @SerializedName("customer_profile")
  private CustomerProfileStruct customerProfile = null;

  @SerializedName("customer_per_cost")
  private Long customerPerCost = null;

  @SerializedName("first_category_id")
  private Long firstCategoryId = null;

  @SerializedName("second_category_id")
  private Long secondCategoryId = null;

  @SerializedName("third_category_id")
  private Long thirdCategoryId = null;

  @SerializedName("fourth_category_id")
  private Long fourthCategoryId = null;

  @SerializedName("first_category_name")
  private String firstCategoryName = null;

  @SerializedName("second_category_name")
  private String secondCategoryName = null;

  @SerializedName("third_category_name")
  private String thirdCategoryName = null;

  @SerializedName("fourth_category_name")
  private String fourthCategoryName = null;

  @SerializedName("peak_period")
  private List peakPeriod = null;

  public LocalStoreBizInfoStruct poiId(String poiId) {
    this.poiId = poiId;
    return this;
  }

  /**
   * Get poiId
   *
   * @return poiId
   */
  @ApiModelProperty(value = "")
  public String getPoiId() {
    return poiId;
  }

  public void setPoiId(String poiId) {
    this.poiId = poiId;
  }

  public LocalStoreBizInfoStruct customerProfile(CustomerProfileStruct customerProfile) {
    this.customerProfile = customerProfile;
    return this;
  }

  /**
   * Get customerProfile
   *
   * @return customerProfile
   */
  @ApiModelProperty(value = "")
  public CustomerProfileStruct getCustomerProfile() {
    return customerProfile;
  }

  public void setCustomerProfile(CustomerProfileStruct customerProfile) {
    this.customerProfile = customerProfile;
  }

  public LocalStoreBizInfoStruct customerPerCost(Long customerPerCost) {
    this.customerPerCost = customerPerCost;
    return this;
  }

  /**
   * Get customerPerCost
   *
   * @return customerPerCost
   */
  @ApiModelProperty(value = "")
  public Long getCustomerPerCost() {
    return customerPerCost;
  }

  public void setCustomerPerCost(Long customerPerCost) {
    this.customerPerCost = customerPerCost;
  }

  public LocalStoreBizInfoStruct firstCategoryId(Long firstCategoryId) {
    this.firstCategoryId = firstCategoryId;
    return this;
  }

  /**
   * Get firstCategoryId
   *
   * @return firstCategoryId
   */
  @ApiModelProperty(value = "")
  public Long getFirstCategoryId() {
    return firstCategoryId;
  }

  public void setFirstCategoryId(Long firstCategoryId) {
    this.firstCategoryId = firstCategoryId;
  }

  public LocalStoreBizInfoStruct secondCategoryId(Long secondCategoryId) {
    this.secondCategoryId = secondCategoryId;
    return this;
  }

  /**
   * Get secondCategoryId
   *
   * @return secondCategoryId
   */
  @ApiModelProperty(value = "")
  public Long getSecondCategoryId() {
    return secondCategoryId;
  }

  public void setSecondCategoryId(Long secondCategoryId) {
    this.secondCategoryId = secondCategoryId;
  }

  public LocalStoreBizInfoStruct thirdCategoryId(Long thirdCategoryId) {
    this.thirdCategoryId = thirdCategoryId;
    return this;
  }

  /**
   * Get thirdCategoryId
   *
   * @return thirdCategoryId
   */
  @ApiModelProperty(value = "")
  public Long getThirdCategoryId() {
    return thirdCategoryId;
  }

  public void setThirdCategoryId(Long thirdCategoryId) {
    this.thirdCategoryId = thirdCategoryId;
  }

  public LocalStoreBizInfoStruct fourthCategoryId(Long fourthCategoryId) {
    this.fourthCategoryId = fourthCategoryId;
    return this;
  }

  /**
   * Get fourthCategoryId
   *
   * @return fourthCategoryId
   */
  @ApiModelProperty(value = "")
  public Long getFourthCategoryId() {
    return fourthCategoryId;
  }

  public void setFourthCategoryId(Long fourthCategoryId) {
    this.fourthCategoryId = fourthCategoryId;
  }

  public LocalStoreBizInfoStruct firstCategoryName(String firstCategoryName) {
    this.firstCategoryName = firstCategoryName;
    return this;
  }

  /**
   * Get firstCategoryName
   *
   * @return firstCategoryName
   */
  @ApiModelProperty(value = "")
  public String getFirstCategoryName() {
    return firstCategoryName;
  }

  public void setFirstCategoryName(String firstCategoryName) {
    this.firstCategoryName = firstCategoryName;
  }

  public LocalStoreBizInfoStruct secondCategoryName(String secondCategoryName) {
    this.secondCategoryName = secondCategoryName;
    return this;
  }

  /**
   * Get secondCategoryName
   *
   * @return secondCategoryName
   */
  @ApiModelProperty(value = "")
  public String getSecondCategoryName() {
    return secondCategoryName;
  }

  public void setSecondCategoryName(String secondCategoryName) {
    this.secondCategoryName = secondCategoryName;
  }

  public LocalStoreBizInfoStruct thirdCategoryName(String thirdCategoryName) {
    this.thirdCategoryName = thirdCategoryName;
    return this;
  }

  /**
   * Get thirdCategoryName
   *
   * @return thirdCategoryName
   */
  @ApiModelProperty(value = "")
  public String getThirdCategoryName() {
    return thirdCategoryName;
  }

  public void setThirdCategoryName(String thirdCategoryName) {
    this.thirdCategoryName = thirdCategoryName;
  }

  public LocalStoreBizInfoStruct fourthCategoryName(String fourthCategoryName) {
    this.fourthCategoryName = fourthCategoryName;
    return this;
  }

  /**
   * Get fourthCategoryName
   *
   * @return fourthCategoryName
   */
  @ApiModelProperty(value = "")
  public String getFourthCategoryName() {
    return fourthCategoryName;
  }

  public void setFourthCategoryName(String fourthCategoryName) {
    this.fourthCategoryName = fourthCategoryName;
  }

  public LocalStoreBizInfoStruct peakPeriod(List peakPeriod) {
    this.peakPeriod = peakPeriod;
    return this;
  }

  public LocalStoreBizInfoStruct addPeakPeriodItem(PeakPeriod peakPeriodItem) {
    if (this.peakPeriod == null) {
      this.peakPeriod = new ArrayList();
    }
    this.peakPeriod.add(peakPeriodItem);
    return this;
  }

  /**
   * Get peakPeriod
   *
   * @return peakPeriod
   */
  @ApiModelProperty(value = "")
  public List getPeakPeriod() {
    return peakPeriod;
  }

  public void setPeakPeriod(List peakPeriod) {
    this.peakPeriod = peakPeriod;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    LocalStoreBizInfoStruct localStoreBizInfoStruct = (LocalStoreBizInfoStruct) o;
    return Objects.equals(this.poiId, localStoreBizInfoStruct.poiId)
        && Objects.equals(this.customerProfile, localStoreBizInfoStruct.customerProfile)
        && Objects.equals(this.customerPerCost, localStoreBizInfoStruct.customerPerCost)
        && Objects.equals(this.firstCategoryId, localStoreBizInfoStruct.firstCategoryId)
        && Objects.equals(this.secondCategoryId, localStoreBizInfoStruct.secondCategoryId)
        && Objects.equals(this.thirdCategoryId, localStoreBizInfoStruct.thirdCategoryId)
        && Objects.equals(this.fourthCategoryId, localStoreBizInfoStruct.fourthCategoryId)
        && Objects.equals(this.firstCategoryName, localStoreBizInfoStruct.firstCategoryName)
        && Objects.equals(this.secondCategoryName, localStoreBizInfoStruct.secondCategoryName)
        && Objects.equals(this.thirdCategoryName, localStoreBizInfoStruct.thirdCategoryName)
        && Objects.equals(this.fourthCategoryName, localStoreBizInfoStruct.fourthCategoryName)
        && Objects.equals(this.peakPeriod, localStoreBizInfoStruct.peakPeriod);
  }

  @Override
  public int hashCode() {
    return Objects.hash(
        poiId,
        customerProfile,
        customerPerCost,
        firstCategoryId,
        secondCategoryId,
        thirdCategoryId,
        fourthCategoryId,
        firstCategoryName,
        secondCategoryName,
        thirdCategoryName,
        fourthCategoryName,
        peakPeriod);
  }

  @Override
  public String toString() {
    Gson gson = new Gson();
    return gson.toJson(this);
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy