package com.njcn.csdevice.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.njcn.db.bo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 
 * Description:
 * 接口文档访问地址：http://serverIP:port/swagger-ui.html
 * Date: 2023/4/18  9:49【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */


@ApiModel(value="装置数据Modle")
@Data
public class CsDataEffectiveVO extends BaseEntity {

    @ApiModelProperty(value = "id")
    private String id;
    /**
     * 项目id
     */
    @ApiModelProperty(value="项目id")
    private String projectId;

    /**
     * 设备id
     */
    @ApiModelProperty(value="设备id")
    private String devId;

    /**
     * 注册时间
     */
    @ApiModelProperty(value="注册时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date registerTime;

    /**
     * 退役时间
     */
    @ApiModelProperty(value="退役时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date retireeTime;

 
}