package com.yihu.wlyy.analysis.model; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import java.io.Serializable; /** * Created by Administrator on 2017/2/7. * mongodb实体类 */ @Document public class LabelDataModel implements Serializable { @Id private String id; private String createTime;//时间 private String code;//操作人code private String classMethod;//完整的类路径 private String operaTime;//操作时间 private String date;//具体的数据 public LabelDataModel() { } public LabelDataModel(String createTime, String code, String classMethod, String operaTime, String date) { this.createTime = createTime; this.code = code; this.classMethod = classMethod; this.operaTime = operaTime; this.date = date; } public String getDate() { return date; } public void setDate(String date) { this.date = date; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getCreateTime() { return createTime; } public void setCreateTime(String createTime) { this.createTime = createTime; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } public String getClassMethod() { return classMethod; } public void setClassMethod(String classMethod) { this.classMethod = classMethod; } public String getOperaTime() { return operaTime; } public void setOperaTime(String operaTime) { this.operaTime = operaTime; } }