package com.zy.common.model; import lombok.Data; import java.util.Date; @Data public class WatchModel { private String key; private String msg; private Long time; public WatchModel(String key, String msg) { this.key = key; this.msg = msg; this.time = System.currentTimeMillis(); } }