package com.skr.mdm.bean.so;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.skr.mdm.bean.util.DateConvertUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author nfq
 * @date 2020/11/6 16:22
 */
@Data
@ApiModel(value = "指令下发对象")
public class CmdInfoSO {

    @ApiModelProperty(value = "指令ID")
    private long actionId;

    @ApiModelProperty(value = "消息")
    private String msg;

    @ApiModelProperty(value = "下发时间")
    @JsonSerialize(using = DateConvertUtil.class)
    private Date sendTime;
}
