package com.ruoyi.oa.domain.vo;
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import com.ruoyi.common.annotation.Dict;
|
import com.ruoyi.common.annotation.ExcelDictFormat;
|
import com.ruoyi.common.convert.ExcelDictConvert;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import java.util.Date;
|
|
|
|
/**
|
* 服务器视图对象 sg_server
|
*
|
* @author ruoyi
|
* @date 2022-05-13
|
*/
|
@Data
|
@ApiModel("服务器视图对象")
|
@ExcelIgnoreUnannotated
|
public class SgServerVo {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
*
|
*/
|
@ExcelProperty(value = "")
|
@ApiModelProperty("")
|
private Long id;
|
|
/**
|
* 高校
|
*/
|
@ExcelProperty(value = "高校")
|
@ApiModelProperty("高校")
|
private Long schoolId;
|
|
/**
|
* 部署名称
|
*/
|
@ExcelProperty(value = "部署名称")
|
@ApiModelProperty("部署名称")
|
private String deploymentName;
|
|
/**
|
* LAN
|
*/
|
@ExcelProperty(value = "LAN")
|
@ApiModelProperty("LAN")
|
private String lan;
|
|
/**
|
* IP
|
*/
|
@ExcelProperty(value = "IP")
|
@ApiModelProperty("IP")
|
private String ip;
|
|
/**
|
* 操作系统
|
*/
|
@ExcelProperty(value = "操作系统", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(dictType = "DICT115")
|
@ApiModelProperty("操作系统")
|
private String operatingSystem;
|
|
/**
|
* 账户
|
*/
|
@ExcelProperty(value = "账户")
|
@ApiModelProperty("账户")
|
private String account;
|
|
/**
|
* 部署位置
|
*/
|
@ExcelProperty(value = "部署位置")
|
@ApiModelProperty("部署位置")
|
@Dict(dictTable = "bs_building", dicCode = "id", dicText = "detailed_name")
|
private Long buildingId;
|
|
/**
|
* 机柜号
|
*/
|
@ExcelProperty(value = "机柜号")
|
@ApiModelProperty("机柜号")
|
private String cabinetNumber;
|
|
/**
|
* 机架号
|
*/
|
@ExcelProperty(value = "机架号")
|
@ApiModelProperty("机架号")
|
private String rackNumber;
|
|
/**
|
* 所属单位
|
*/
|
@ExcelProperty(value = "所属单位")
|
@ApiModelProperty("所属单位")
|
@Dict(dictTable = "bs_organization", dicCode = "id", dicText = "detailed_name")
|
private Long organizationId;
|
|
/**
|
* 施工批次
|
*/
|
@ExcelProperty(value = "施工批次")
|
@ApiModelProperty("施工批次")
|
@Dict(dictTable = "sg_construction_batch", dicCode = "id", dicText = "batch")
|
private Long constructionBatchId;
|
|
/**
|
* 序列号
|
*/
|
@ExcelProperty(value = "序列号")
|
@ApiModelProperty("序列号")
|
private String serialNumber;
|
|
/**
|
* 型号
|
*/
|
@ExcelProperty(value = "型号")
|
@ApiModelProperty("型号")
|
private String model;
|
|
/**
|
* 生产厂商
|
*/
|
@ExcelProperty(value = "生产厂商")
|
@ApiModelProperty("生产厂商")
|
@Dict(dictTable = "dev_manufacturer", dicCode = "id", dicText = "name")
|
private Long manufacturerId;
|
|
/**
|
* 性能指标
|
*/
|
@ExcelProperty(value = "性能指标")
|
@ApiModelProperty("性能指标")
|
private String performanceIndex;
|
|
/**
|
* 备注
|
*/
|
@ExcelProperty(value = "备注")
|
@ApiModelProperty("备注")
|
private String remarks;
|
|
/**
|
* 附件
|
*/
|
@ExcelProperty(value = "附件")
|
@ApiModelProperty("附件")
|
private String filePath;
|
|
|
}
|