This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-nz-transfer/src/main/java/com/nis/entity/AssetAsset.java
tanghao cae28168a5 init
2021-05-08 19:33:06 +08:00

181 lines
3.0 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.nis.entity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
/**
* 资产实体
*
* @author shizhendong
* @date 2019-11-21
*/
@Data
@TableName("asset_asset")
public class AssetAsset implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(type = IdType.INPUT)
private Integer id;
/**
* 资产名称 唯一
*/
private String name;
/**
* 资产编号 不重复
*/
private String number;
/**
* 资产序列化 (唯一)
*/
private String sn;
/**
* 默认:-1 只有type vm = 1可以且必须填写此字段且 pid.type vmh = 1
*/
@TableField(strategy = FieldStrategy.IGNORED)
private Integer pid;
/**
* 资产状态
*/
private Integer stateId;
/**
* 资产类型
*/
private Integer typeId;
/**
* 品牌
*/
private Integer brandId;
/**
* 产品型号ID 与model表关联
*/
private Integer modelId;
/**
* 数据中心id
*/
private Integer dcId;
/**
* 认证服务端口
*/
@TableField(strategy = FieldStrategy.IGNORED)
private Integer authProtocolPort;
/**
* 认证方式
*/
@TableField(strategy = FieldStrategy.IGNORED)
private Integer authType;
/**
* 用户名
*/
@TableField(strategy = FieldStrategy.IGNORED)
private String authUsername;
/**
* 密码
*/
@TableField(strategy = FieldStrategy.IGNORED)
private String authPin;
/**
* 秘钥
*/
@TableField(strategy = FieldStrategy.IGNORED)
private String authPriKey;
/**
* 用户名提示
*/
@TableField(strategy = FieldStrategy.IGNORED)
private String authUserTip;
/**
* 密码提示
*/
@TableField(strategy = FieldStrategy.IGNORED)
private String authPinTip;
/**
* 协议 SSH / TELNET
*/
@TableField(exist = false)
private String protocol;
/**
* snmp凭证id
*/
private Integer snmpCredentialId;
/**
* 机柜编号
*/
@TableField(strategy = FieldStrategy.IGNORED)
private Integer cabinetId;
/**
* 机柜开始位置
*/
@TableField(strategy = FieldStrategy.IGNORED)
private Integer cabinetStart;
/**
* 机柜结束位置
*/
@TableField(strategy = FieldStrategy.IGNORED)
private Integer cabinetEnd;
/**
* 管理ip
*/
private String manageIp;
/**
* 购买日期
*/
private String purchaseDate;
/**
* 添加日期
*/
private Date createAt;
/**
* 更新日期
*/
private Date updateAt;
/**
* 添加人 user表关联
*/
private Long createBy;
/**
* 更新人
*/
private Long updateBy;
/**
* 用于撤销具体某次批量导入的uuid
*/
private String seq;
}