|
@@ -0,0 +1,84 @@
|
|
|
+package com.dt.child.domain;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import java.io.Serializable;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+/**
|
|
|
+ *
|
|
|
+ * @TableName lzy_neirong_xiangqing
|
|
|
+ */
|
|
|
+@TableName(value ="lzy_neirong_xiangqing")
|
|
|
+@Data
|
|
|
+public class LzyNeirongXiangqing implements Serializable {
|
|
|
+ /**
|
|
|
+ * id
|
|
|
+ */
|
|
|
+ @TableId
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 内容
|
|
|
+ */
|
|
|
+ private Object neirong;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 标题id
|
|
|
+ */
|
|
|
+ private Long neirongId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 标签id
|
|
|
+ */
|
|
|
+ private Long yverbeirongId;
|
|
|
+
|
|
|
+ @TableField(exist = false)
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public boolean equals(Object that) {
|
|
|
+ if (this == that) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ if (that == null) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if (getClass() != that.getClass()) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ LzyNeirongXiangqing other = (LzyNeirongXiangqing) that;
|
|
|
+ return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
|
|
|
+ && (this.getNeirong() == null ? other.getNeirong() == null : this.getNeirong().equals(other.getNeirong()))
|
|
|
+ && (this.getNeirongId() == null ? other.getNeirongId() == null : this.getNeirongId().equals(other.getNeirongId()))
|
|
|
+ && (this.getYverbeirongId() == null ? other.getYverbeirongId() == null : this.getYverbeirongId().equals(other.getYverbeirongId()));
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public int hashCode() {
|
|
|
+ final int prime = 31;
|
|
|
+ int result = 1;
|
|
|
+ result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
|
|
|
+ result = prime * result + ((getNeirong() == null) ? 0 : getNeirong().hashCode());
|
|
|
+ result = prime * result + ((getNeirongId() == null) ? 0 : getNeirongId().hashCode());
|
|
|
+ result = prime * result + ((getYverbeirongId() == null) ? 0 : getYverbeirongId().hashCode());
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ StringBuilder sb = new StringBuilder();
|
|
|
+ sb.append(getClass().getSimpleName());
|
|
|
+ sb.append(" [");
|
|
|
+ sb.append("Hash = ").append(hashCode());
|
|
|
+ sb.append(", id=").append(id);
|
|
|
+ sb.append(", neirong=").append(neirong);
|
|
|
+ sb.append(", neirongId=").append(neirongId);
|
|
|
+ sb.append(", yverbeirongId=").append(yverbeirongId);
|
|
|
+ sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
|
+ sb.append("]");
|
|
|
+ return sb.toString();
|
|
|
+ }
|
|
|
+}
|