package com.citygis.web.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.citygis.common.annotation.Excel;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * ip监测结果表
 * </p>
 *
 * @author citygis
 * @since 2025-01-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("TAB_IP_RESULT")
@ApiModel(value="TabIpResult对象", description="ip监测结果表")
public class TabIpResult implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableField("ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "ip")
    @TableField("IP")
    @Excel(name = "ip")
    private String ip;

    @ApiModelProperty(value = "端口")
    @TableField("PORT")
    @Excel(name = "端口")
    private Integer port;

    @ApiModelProperty(value = "类型")
    @TableField("TYPE")
    private String type;

    @ApiModelProperty(value = "监听结果")
    @TableField("RESULT")
    @Excel(name = "监听结果")
    private String result;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;


    @ApiModelProperty(value = "描述")
    @TableField("DESCRIPTION")
    private String description;

    @TableField(exist = false)
    private String startTime;

    @TableField(exist = false)
    private String endTime;

}
