diff --git a/platform-dal/src/main/java/com/lyms/platform/pojo/PlantformConfigModel.java b/platform-dal/src/main/java/com/lyms/platform/pojo/PlantformConfigModel.java new file mode 100644 index 0000000..d32c644 --- /dev/null +++ b/platform-dal/src/main/java/com/lyms/platform/pojo/PlantformConfigModel.java @@ -0,0 +1,112 @@ +package com.lyms.platform.pojo; + +import com.lyms.platform.common.result.BaseModel; + +import java.util.Date; + +import org.bson.types.ObjectId; +import org.springframework.data.annotation.Id; +import org.springframework.data.mongodb.core.mapping.Document; + +/** + * 系统配置表 + */ +@Document(collection = "lyms_plantform_config") +public class PlantformConfigModel extends BaseModel { + + private static final long serialVersionUID = 4605751215073152594L; + + /** + * 主键id + */ + @Id + private ObjectId id; + + /** + * key名称 + */ + private String key; + + /** + * key值 + */ + private String value; + + /** + * key的类型 + */ + private String type; + + /** + * 创建时间 + */ + private Date createDate; + + /** + * 备注 + */ + private String remark; + + /** + * mongo的inr操作不支持 字符串 + * 用于记录每次自增之后的值 + */ + private Long incrementValue; + + public ObjectId getId() { + return id; + } + + public void setId(ObjectId id) { + this.id = id; + } + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public Date getCreateDate() { + return createDate; + } + + public void setCreateDate(Date createDate) { + this.createDate = createDate; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public Long getIncrementValue() { + return incrementValue; + } + + public void setIncrementValue(Long incrementValue) { + this.incrementValue = incrementValue; + } + +}