package net.northking.cctp.device.dto.pcDevice;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@JsonSerialize
@ApiModel(description = "PC设备管理")
public class CdPcDeviceDto {
    @ApiModelProperty("设备名称")
    private String deviceName;

    @ApiModelProperty("设备域名")
    private String domainName;

    @ApiModelProperty("操作系统架构")
    private String osArch;

    @ApiModelProperty("所属系统")
    private List<String> osName;

    @ApiModelProperty("设备状态")
    private String status;

    @ApiModelProperty("使用状态")
    private String usageStatus;

    @ApiModelProperty("系统id")
    private String projectId;

    @ApiModelProperty("租户id")
    private String tenantId;

    @ApiModelProperty("系统-设备到期时间")
    private String projectExpiredTime;

    @ApiModelProperty("系统-设备到期时间-开始")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date projectExpiredTimeStart;

    @ApiModelProperty("系统-设备到期时间-结束")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date projectExpiredTimeEnd;

    @ApiModelProperty("租户-设备到期时间")
    private String tenantExpiredTime;

    @ApiModelProperty("租户-设备到期时间-开始")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date tenantExpiredTimeStart;

    @ApiModelProperty("租户-设备到期时间-结束")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date tenantExpiredTimeEnd;

    private Boolean proNull;

    private Boolean tenantNull;

    private Boolean proNotNull;

    private Boolean tenantNotNull;

}
