content: package com.gitee.pifeng.monitoring.ui.business.web.entity;
  
  import com.baomidou.mybatisplus.annotation.IdType;
  import com.baomidou.mybatisplus.annotation.TableField;
  import com.baomidou.mybatisplus.annotation.TableId;
  import com.baomidou.mybatisplus.annotation.TableName;
  import com.fasterxml.jackson.databind.annotation.JsonSerialize;
  import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
  import io.swagger.v3.oas.annotations.media.Schema;
  import lombok.Builder;
  import lombok.Data;
  import lombok.EqualsAndHashCode;
  import lombok.experimental.Accessors;
  
  import java.io.Serializable;
  import java.util.Date;
  
  /**
   * <p>
   * 服务器操作系统表
   * </p>
   *
   * @author 皮锋
   * @custom.date 2021-01-21
   */
  @Data
  @Builder
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
  @TableName("MONITOR_SERVER_OS")
  @Schema(description = "MonitorServerOs对象")
  public class MonitorServerOs implements Serializable {
  
      private static final long serialVersionUID = 1L;
  
      @JsonSerialize(using = ToStringSerializer.class)
      @Schema(description = "主键ID")
      @TableId(value = "ID", type = IdType.AUTO)
      private Long id;
  
      @Schema(description = "IP地址")
      @TableField("IP")
      private String ip;
  
      @Schema(description = "服务器名")
      @TableField("SERVER_NAME")
      private String serverName;
  
      @Schema(description = "操作系统名称")
      @TableField("OS_NAME")
      private String osName;
  
      @Schema(description = "操作系统架构")
      @TableField("OS_ARCH")
      private String osArch;
  
      @Schema(description = "操作系统版本")
      @TableField("OS_VERSION")
      private String osVersion;
  
      @Schema(description = "用户名称")
      @TableField("USER_NAME")
      private String userName;
  
      @Schema(description = "用户主目录")
      @TableField("USER_HOME")
      private String userHome;
  
      @Schema(description = "操作系统时区")
      @TableField("OS_TIME_ZONE")
      private String osTimeZone;
  
      @Schema(description = "新增时间")
      @TableField("INSERT_TIME")
      private Date insertTime;
  
      @Schema(description = "更新时间")
      @TableField("UPDATE_TIME")
      private Date updateTime;
  
  }
  