|
@@ -0,0 +1,92 @@
|
|
|
+package com.hssx.pcbms.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ *
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author 吴涛涛
|
|
|
+ * @since 2019-11-02
|
|
|
+ */
|
|
|
+public class Parameter extends Model<Parameter> {
|
|
|
+
|
|
|
+ private static final long serialVersionUID=1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 主键
|
|
|
+ */
|
|
|
+ @TableId(value = "id", type = IdType.AUTO)
|
|
|
+ private Integer id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 参数键
|
|
|
+ */
|
|
|
+ @TableField("param_key")
|
|
|
+ private String paramKey;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 参数值
|
|
|
+ */
|
|
|
+ @TableField("param_value")
|
|
|
+ private String paramValue;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 注释
|
|
|
+ */
|
|
|
+ @TableField("note")
|
|
|
+ private String note;
|
|
|
+
|
|
|
+
|
|
|
+ public Integer getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Integer id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getParamKey() {
|
|
|
+ return paramKey;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setParamKey(String paramKey) {
|
|
|
+ this.paramKey = paramKey;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getParamValue() {
|
|
|
+ return paramValue;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setParamValue(String paramValue) {
|
|
|
+ this.paramValue = paramValue;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getNote() {
|
|
|
+ return note;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNote(String note) {
|
|
|
+ this.note = note;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ protected Serializable pkVal() {
|
|
|
+ return this.id;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "Parameter{" +
|
|
|
+ "id=" + id +
|
|
|
+ ", paramKey=" + paramKey +
|
|
|
+ ", paramValue=" + paramValue +
|
|
|
+ ", note=" + note +
|
|
|
+ "}";
|
|
|
+ }
|
|
|
+}
|