package com.ycwl.basic.integration.device.dto.config;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;


@Data
public class DeviceConfigV2DTO {
    @JsonProperty("id")
    private Long id;
    
    @JsonProperty("deviceId")
    private Long deviceId;
    
    @JsonProperty("configKey")
    private String configKey;
    
    @JsonProperty("configValue")
    private String configValue;
    
    @JsonProperty("configType")
    private String configType;
    
    @JsonProperty("description")
    private String description;
    
    @JsonProperty("isActive")
    private Integer isActive;
    
    @JsonProperty("createTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    
    @JsonProperty("updateTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}