content: package com.ledao.entity;
  
  /**
   * 客户宠物实体
   *
   * @author LeDao
   * @company
   * @create 2020-02-02 14:22
   */
  public class Pet {
  
      /**
       * 编号
       */
      private Integer id;
      /**
       * 名称
       */
      private String name;
      /**
       * 年龄
       */
      private Integer age;
      /**
       * 宠物类型
       */
      private String typeName;
      /**
       * 宠物头像
       */
      private String imageName;
      /**
       * 所属客户实体
       */
      private Customer customer;
  
      /**
       * 所属客户id
       */
      private Integer customerId;
  
      public Integer getId() {
          return id;
      }
  
      public void setId(Integer id) {
          this.id = id;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      public Integer getAge() {
          return age;
      }
  
      public void setAge(Integer age) {
          this.age = age;
      }
  
      public String getTypeName() {
          return typeName;
      }
  
      public void setTypeName(String typeName) {
          this.typeName = typeName;
      }
  
      public String getImageName() {
          return imageName;
      }
  
      public void setImageName(String imageName) {
          this.imageName = imageName;
      }
  
      public Customer getCustomer() {
          return customer;
      }
  
      public void setCustomer(Customer customer) {
          this.customer = customer;
      }
  
      public Integer getCustomerId() {
          return customerId;
      }
  
      public void setCustomerId(Integer customerId) {
          this.customerId = customerId;
      }
  
      @Override
      public String toString() {
          return "Pet{" +
                  "id=" + id +
                  ", name='" + name + '\'' +
                  ", age=" + age +
                  ", typeName='" + typeName + '\'' +
                  ", imageName='" + imageName + '\'' +
                  ", customer=" + customer +
                  ", customerId=" + customerId +
                  '}';
      }
  }
  