content: package cn.sp.bean;
  
  import com.baomidou.mybatisplus.annotation.IdType;
  import com.baomidou.mybatisplus.annotation.TableId;
  import com.baomidou.mybatisplus.annotation.TableName;
  
  import java.time.LocalDateTime;
  
  /**
   * Created by 2YSP on 2020/12/23
   */
  @TableName("t_app_instance")
  public class AppInstance {
  
      @TableId(type = IdType.AUTO)
      private Integer id;
  
      private Integer appId;
  
      private String version;
  
      private String ip;
  
      private Integer port;
  
      private Integer weight;
  
      private LocalDateTime createdTime;
  
      public Integer getId() {
          return id;
      }
  
      public void setId(Integer id) {
          this.id = id;
      }
  
      public Integer getAppId() {
          return appId;
      }
  
      public void setAppId(Integer appId) {
          this.appId = appId;
      }
  
      public String getVersion() {
          return version;
      }
  
      public void setVersion(String version) {
          this.version = version;
      }
  
      public String getIp() {
          return ip;
      }
  
      public void setIp(String ip) {
          this.ip = ip;
      }
  
      public Integer getPort() {
          return port;
      }
  
      public void setPort(Integer port) {
          this.port = port;
      }
  
      public Integer getWeight() {
          return weight;
      }
  
      public void setWeight(Integer weight) {
          this.weight = weight;
      }
  
      public LocalDateTime getCreatedTime() {
          return createdTime;
      }
  
      public void setCreatedTime(LocalDateTime createdTime) {
          this.createdTime = createdTime;
      }
  }
  