package org.jeecg.modules.adweb.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: wp站点服务器配置信息
 * @Author: jeecg-boot
 * @Date: 2025-01-02
 * @Version: V1.0
 */
@Data
@TableName("adweb_server")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@Schema(description = "wp站点服务器配置信息")
public class AdwebServer implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private java.lang.String id;
    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private java.lang.String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建日期")
    private java.util.Date createTime;
    /**
     * 更新人
     */
    @Schema(description = "更新人")
    private java.lang.String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "更新日期")
    private java.util.Date updateTime;
    /**
     * 服务器IP
     */
    @Excel(name = "服务器IP", width = 15)
    @Schema(description = "服务器IP")
    private java.lang.String serverIp;
    /**
     * 服务器端口
     */
    @Excel(name = "服务器端口", width = 15)
    @Schema(description = "服务器端口")
    private java.lang.String serverPort;
    /**
     * 用户名
     */
    @Excel(name = "用户名", width = 15)
    @Schema(description = "用户名")
    private java.lang.String userName;
    /**
     * 密码
     */
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @Excel(name = "密码", width = 15)
    @Schema(description = "密码")
    private java.lang.String serverPassword;
    /**
     * 秘钥
     */
    @Excel(name = "秘钥", width = 15)
    @Schema(description = "秘钥")
    private java.lang.String serverPem;
    /**
     * 服务器名称
     */
    @Excel(name = "服务器名称", width = 15)
    @Schema(description = "服务器名称")
    private java.lang.String serverName;

    @Excel(name = "CNAME记录", width = 15)
    @Schema(description = "CNAME记录")
    private java.lang.String cname;
}
