package com.gxwebsoft.oa.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * ssl证书
 *
 * @author 科技小王子
 * @since 2024-10-18 19:25:40
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "OaAssetsSsl对象", description = "ssl证书")
public class OaAssetsSsl implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ssl_id", type = IdType.AUTO)
    private Integer sslId;

    @ApiModelProperty(value = "证书名称")
    private String name;

    @ApiModelProperty(value = "证书标识")
    private String code;

    @ApiModelProperty(value = "证书类型")
    private String type;

    @ApiModelProperty(value = "品牌厂商")
    private String brand;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "详情内容")
    private String content;

    @ApiModelProperty(value = "证书key")
    private String certKey;

    @ApiModelProperty(value = "证书pem")
    private String certPem;

    @ApiModelProperty(value = "证书下载地址")
    private String certUrl;

    @ApiModelProperty(value = "证书crt")
    private String certCrt;

    @ApiModelProperty(value = "购买时间")
    private Date startTime;

    @ApiModelProperty(value = "到期时间")
    private Date endTime;

    @ApiModelProperty(value = "置顶状态")
    private String isTop;

    @ApiModelProperty(value = "排序(数字越小越靠前)")
    private Integer sortNumber;

    @ApiModelProperty(value = "描述")
    private String comments;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "可见用户")
    private String userIds;

    @ApiModelProperty(value = "状态, 0正常, 1冻结")
    private Integer status;

    @ApiModelProperty(value = "即将过期")
    private Integer soon;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "应用名称")
    @TableField(exist = false)
    private String tenantName;

    @ApiModelProperty(value = "应用图标")
    @TableField(exist = false)
    private String logo;

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

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

}
