package com.skr.mdm.bean.vo.system;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ProjectName: mdm_new
 * @Package: com.skr.mdm.pojo.vo.systemSetting
 * @ClassName: SysChangCertficateVO
 * @Author: Tty
 * @Description: 服务器变更 视图对象
 * @Date: 2020/12/1 14:51
 * @Version: 1.0
 */
@Data
@ApiModel("服务器变更信息")
@ToString
public class SysChangeCertificateVO {

	private Integer id;
	@ApiModelProperty("域名/IP")
	private String ipName;
	@ApiModelProperty("下发状态")
	private Integer issuedState;
	@ApiModelProperty("socket端口")
	private Integer socketPort;
	@ApiModelProperty("客户端端口")
	private Integer clientPort;
	@ApiModelProperty("版本")
	private String version;
	@ApiModelProperty("使用者")
	private String subjectDn;
	@ApiModelProperty("颁发者")
	private String issuerDn;
	@ApiModelProperty("起始时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	
	private Date beginTime;
	@ApiModelProperty("到期时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	
	private Date endTime;
	@ApiModelProperty("证书名称")
	private String certificateName;
}