chore: update pom.xml Lombok config and deploy settings

- Update Maven compiler plugin to support Lombok annotation processing
- Add deploy.conf for automated deployment
- Update backend models and controllers
- Update frontend pages and API
This commit is contained in:
2026-03-04 12:21:29 +08:00
parent 4646fbc9b5
commit 6f2dc27fbc
20 changed files with 352 additions and 151 deletions

View File

@@ -1,6 +1,7 @@
package com.zbkj.common.model.article;
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 io.swagger.annotations.ApiModel;
@@ -55,6 +56,14 @@ public class Article implements Serializable {
@ApiModelProperty(value = "浏览次数")
private String visit;
@ApiModelProperty(value = "页面浏览量(表中暂无该列,仅内存使用)")
@TableField(exist = false)
private Integer pageViews;
@ApiModelProperty(value = "收藏数(表中暂无该列,仅内存使用)")
@TableField(exist = false)
private Integer collect;
@ApiModelProperty(value = "排序")
private Integer sort;
@@ -141,4 +150,36 @@ public class Article implements Serializable {
@ApiModelProperty(value = "关联的打卡记录ID")
private Integer checkInRecordId;
public Integer getId() {
return id;
}
public Date getCreateTime() {
return createTime;
}
public String getCid() {
return cid;
}
public Boolean getHide() {
return hide;
}
public Boolean getStatus() {
return status;
}
public String getVisit() {
return visit;
}
public Integer getPageViews() {
return pageViews;
}
public Integer getCollect() {
return collect;
}
}

View File

@@ -69,4 +69,12 @@ public class SystemAdmin implements Serializable {
@ApiModelProperty(value = "是否接收短信")
private Boolean isSms;
public Integer getId() {
return id;
}
public String getRealName() {
return realName;
}
}

View File

@@ -8,7 +8,6 @@ import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
@@ -18,7 +17,6 @@ import lombok.experimental.Accessors;
* | Author:ScottPan
* +----------------------------------------------------------------------
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_system_config")
@@ -51,4 +49,21 @@ public class SystemConfig implements Serializable {
@ApiModelProperty(value = "更新时间")
private Date updateTime;
public Integer getId() { return id; }
public void setId(Integer id) { this.id = id; }
public String getName() { return name; }
public void setName(String name) { this.name = name; }
public String getTitle() { return title; }
public void setTitle(String title) { this.title = title; }
public Integer getFormId() { return formId; }
public void setFormId(Integer formId) { this.formId = formId; }
public String getValue() { return value; }
public void setValue(String value) { this.value = value; }
public Boolean getStatus() { return status; }
public void setStatus(Boolean status) { this.status = status; }
public Date getCreateTime() { return createTime; }
public void setCreateTime(Date createTime) { this.createTime = createTime; }
public Date getUpdateTime() { return updateTime; }
public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; }
}

View File

@@ -66,5 +66,52 @@ public class SystemMenu implements Serializable {
@JsonIgnore
private Date updateTime;
public Integer getId() {
return id;
}
public Integer getPid() {
return pid;
}
public String getName() {
return name;
}
public String getIcon() {
return icon;
}
public String getPerms() {
return perms;
}
public String getComponent() {
return component;
}
public String getMenuType() {
return menuType;
}
public Integer getSort() {
return sort;
}
public Boolean getIsShow() {
return isShow;
}
public Boolean getIsDelte() {
return isDelte;
}
public Date getCreateTime() {
return createTime;
}
public Date getUpdateTime() {
return updateTime;
}
}

View File

@@ -47,5 +47,8 @@ public class SystemPermissions implements Serializable {
@ApiModelProperty(value = "是否删除")
private Boolean isDelte;
public String getPath() {
return path;
}
}

View File

@@ -150,4 +150,8 @@ public class User implements Serializable {
@ApiModelProperty(value = "成为分销员时间")
private Date promoterTime;
public Integer getUid() {
return uid;
}
}