package com.zcxk.dto;

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

import java.util.Date;

@Data
public class SetupMethod {
//    {
//        "deviceId":"912cf9e7-8557-4792-a2f9-27ba72bbcb89",
//            "unitIdentifier":"867126056979409",
//            "receiveTime":"2021-05-19 09:50:15",
//            "method":"WriteValve",
//            "params":{"electronicNo":"AAAAAAAAAAAAAA","valveStatus":"1"}}
    //private String deviceId;
    private String deviceMode;
    private String deviceType;
    private String manufacturer;
    private String method;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
    private Date receiveTime;
    private String unitIdentifier;
    private Object params;
}
