refactor: 删除Blog模块
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
package com.cxx.common.dto.bill;
|
||||
|
||||
import com.cxx.common.PlainView;
|
||||
import com.fasterxml.jackson.annotation.JsonView;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@JsonView(PlainView.class)
|
||||
public class BillCategoryDto extends BillItemDto{
|
||||
@Schema(description = "账本名称")
|
||||
private String bookName;
|
||||
|
||||
@Schema(description = "账本类型")
|
||||
private String type;
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
package com.cxx.common.dto.bill;
|
||||
|
||||
import com.cxx.common.PlainView;
|
||||
import com.cxx.common.ReadView;
|
||||
import com.fasterxml.jackson.annotation.JsonView;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@JsonView(PlainView.class)
|
||||
public class BillItemDto {
|
||||
@Schema(description = "id")
|
||||
@JsonView(ReadView.class)
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(description = "颜色")
|
||||
private String color;
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
package com.cxx.common.dto.bill;
|
||||
|
||||
import com.cxx.common.PlainView;
|
||||
import com.cxx.common.ReadView;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonView;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@JsonView(PlainView.class)
|
||||
public class BillRecordDto {
|
||||
@Schema(description = "id")
|
||||
@JsonView(ReadView.class)
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "账本名称")
|
||||
private String bookName;
|
||||
|
||||
@Schema(description = "账单类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "账单类别")
|
||||
private String category;
|
||||
|
||||
@Schema(description = "账单地点")
|
||||
private String location;
|
||||
|
||||
@Schema(description = "账单账户")
|
||||
private String payAccount;
|
||||
|
||||
@Schema(description = "账单金额")
|
||||
private Double amount;
|
||||
|
||||
@Schema(description = "账单内容")
|
||||
private String content;
|
||||
|
||||
@Schema(description = "账单备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(description = "账单图片")
|
||||
private List<String> imageList;
|
||||
|
||||
@Schema(description = "账单日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
private Date date;
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
package com.cxx.common.dto.bill;
|
||||
|
||||
import com.cxx.common.PlainView;
|
||||
import com.cxx.common.ReadView;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonView;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@JsonView(PlainView.class)
|
||||
public class BillSummaryDto {
|
||||
@Schema(description = "id")
|
||||
@JsonView(ReadView.class)
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "账本名称")
|
||||
private String bookName;
|
||||
|
||||
@Schema(description = "账单类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "账单类别")
|
||||
private String category;
|
||||
|
||||
@Schema(description = "账单地点")
|
||||
private String location;
|
||||
|
||||
@Schema(description = "账单账户")
|
||||
private String payAccount;
|
||||
|
||||
@Schema(description = "账单金额")
|
||||
private Double amount;
|
||||
|
||||
@Schema(description = "账单内容")
|
||||
private String content;
|
||||
|
||||
@Schema(description = "账单备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(description = "账单日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
private Date date;
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
package com.cxx.common.dto.blog;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class BlogCategoryDto {
|
||||
@Schema(description = "类别名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "类别数量")
|
||||
private Integer count;
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
package com.cxx.common.dto.blog;
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.cxx.common.dto.blog;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* @Author: Cxx
|
||||
* @Date: 2024/9/16 19:47
|
||||
* @Description:
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
public class BlogLatestDto {
|
||||
@Schema(description = "id")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "博客标题")
|
||||
private String title;
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.cxx.common.dto.blog;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* @Author: Cxx
|
||||
* @Date: 2024/9/16 19:47
|
||||
* @Description:
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
public class BlogStatsDto {
|
||||
@Schema(description = "博客数量")
|
||||
private Long blogCount;
|
||||
|
||||
@Schema(description = "博客类别数量")
|
||||
private Long categoryCount;
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
package com.cxx.common.dto.blog;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class BlogVisitDto {
|
||||
@Schema(description = "访问ip")
|
||||
private String ip;
|
||||
|
||||
@Schema(description = "访问系统")
|
||||
private String os;
|
||||
|
||||
@Schema(description = "访问浏览器")
|
||||
private String browser;
|
||||
|
||||
@Schema(description = "访问路径")
|
||||
private String uri;
|
||||
|
||||
@Schema(description = "博客标题")
|
||||
private String title;
|
||||
|
||||
@Schema(description = "访问时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date visitTime;
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
package com.cxx.common.dto.budget;
|
||||
|
||||
import com.cxx.common.PlainView;
|
||||
import com.cxx.common.ReadView;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonView;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.PositiveOrZero;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@JsonView(PlainView.class)
|
||||
public class BudgetDto {
|
||||
@Schema(description = "id")
|
||||
@JsonView(ReadView.class)
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "预算类别")
|
||||
@NotBlank(message = "类别不能为空")
|
||||
private String category;
|
||||
|
||||
@Schema(description = "预算项目")
|
||||
@NotBlank(message = "项目不能为空")
|
||||
private String project;
|
||||
|
||||
@Schema(description = "预算内容")
|
||||
private String content;
|
||||
|
||||
@Schema(description = "供应商")
|
||||
private String vendor;
|
||||
|
||||
@Schema(description = "预算支出")
|
||||
@PositiveOrZero(message = "预算支出支出必须大于等于0")
|
||||
private Double budget;
|
||||
|
||||
@Schema(description = "实际支出")
|
||||
@PositiveOrZero(message = "实际支出支出必须大于等于0")
|
||||
private Double actual;
|
||||
|
||||
@Schema(description = "支付时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date payTime;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String remake;
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
package com.cxx.common.dto.message;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class MailMessageDto {
|
||||
private String to;
|
||||
private String subject;
|
||||
private String body;
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
package com.cxx.common.dto.plan;
|
||||
|
||||
import com.cxx.common.PlainView;
|
||||
import com.cxx.common.ReadView;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.annotation.JsonView;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@JsonView(PlainView.class)
|
||||
public class PlanDto {
|
||||
@Schema(description = "id")
|
||||
@JsonView(ReadView.class)
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "标题")
|
||||
@NotBlank(message = "标题不能为空")
|
||||
private String title;
|
||||
|
||||
@Schema(description = "内容")
|
||||
private String content;
|
||||
|
||||
@Schema(description = "日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||
private Date date;
|
||||
|
||||
@Schema(description = "开始时间")
|
||||
@JsonFormat(pattern = "HH:mm", timezone = "GMT+8")
|
||||
private Date startTime;
|
||||
|
||||
@Schema(description = "结束时间")
|
||||
@JsonFormat(pattern = "HH:mm", timezone = "GMT+8")
|
||||
private Date endTime;
|
||||
|
||||
@Schema(description = "提醒时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date alterTime;
|
||||
|
||||
@Schema(description = "邮箱地址")
|
||||
private String email;
|
||||
|
||||
@Schema(description = "任务id")
|
||||
private Long taskId;
|
||||
|
||||
@Schema(description = "标签")
|
||||
private String tag;
|
||||
|
||||
@Schema(description = "是否置顶")
|
||||
private Integer isTop;
|
||||
|
||||
@Schema(description = "优先级")
|
||||
private Integer priority;
|
||||
|
||||
@Schema(description = "是否完成")
|
||||
private Integer completed;
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package com.cxx.common.dto.plan;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class PlanStatsDto {
|
||||
@Schema(description = "计划总数")
|
||||
private Integer totalCount;
|
||||
|
||||
@Schema(description = "完成总数")
|
||||
private Integer completedCount;
|
||||
|
||||
@Schema(description = "当前计划")
|
||||
private Integer currentCount;
|
||||
|
||||
@Schema(description = "过期计划")
|
||||
private Integer remainCount;
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
package com.cxx.common.dto.task;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class TaskDto {
|
||||
@Schema(description = "任务类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "任务内容")
|
||||
private String content;
|
||||
|
||||
@Schema(description = "执行时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date executeTime;
|
||||
|
||||
@Schema(description = "定时任务表达式")
|
||||
private String cronExpression;
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("bill_book")
|
||||
public class BillBook extends AbstractEntity {
|
||||
@TableField("name")
|
||||
private String name;
|
||||
|
||||
@TableField("icon")
|
||||
private String icon;
|
||||
|
||||
@TableField("color")
|
||||
private String color;
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("bill_category")
|
||||
public class BillCategory extends AbstractEntity {
|
||||
@TableField("book_id")
|
||||
private Long bookId;
|
||||
|
||||
@TableField("name")
|
||||
private String name;
|
||||
|
||||
@TableField("type")
|
||||
private String type;
|
||||
|
||||
@TableField("icon")
|
||||
private String icon;
|
||||
|
||||
@TableField("color")
|
||||
private String color;
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@TableName("bill_image")
|
||||
public class BillImage {
|
||||
@TableField("bill_id")
|
||||
private Long billId;
|
||||
|
||||
@TableField("image_url")
|
||||
private String imageUrl;
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("bill_pay")
|
||||
public class BillPay extends AbstractEntity {
|
||||
@TableField("name")
|
||||
private String name;
|
||||
|
||||
@TableField("icon")
|
||||
private String icon;
|
||||
|
||||
@TableField("color")
|
||||
private String color;
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("bill_record")
|
||||
public class BillRecord extends AbstractEntity {
|
||||
@TableField("book_id")
|
||||
private Long bookId;
|
||||
|
||||
@TableField("type")
|
||||
private String type;
|
||||
|
||||
@TableField("category_id")
|
||||
private Long categoryId;
|
||||
|
||||
@TableField("location")
|
||||
private String location;
|
||||
|
||||
@TableField("date")
|
||||
private Date date;
|
||||
|
||||
@TableField("amount")
|
||||
private Double amount;
|
||||
|
||||
@TableField("content")
|
||||
private String content;
|
||||
|
||||
@TableField("pay_id")
|
||||
private Long payId;
|
||||
|
||||
@TableField("remark")
|
||||
private String remark;
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("blog")
|
||||
public class Blog extends AbstractEntity {
|
||||
@TableField("title")
|
||||
private String title;
|
||||
|
||||
@TableField("top_value")
|
||||
private Integer topValue;
|
||||
|
||||
@TableField("is_great")
|
||||
private Boolean isGreat;
|
||||
|
||||
@TableField("category_id")
|
||||
private Long categoryId;
|
||||
|
||||
@TableField("summary")
|
||||
private String summary;
|
||||
|
||||
@TableField("content_id")
|
||||
private Long contentId;
|
||||
|
||||
@TableField("word_count")
|
||||
private Integer wordCount;
|
||||
|
||||
@TableField("read_duration")
|
||||
private Double readDuration;
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* @Author: Cxx
|
||||
* @Date: 2024/9/15 10:11
|
||||
* @Description: 博客分类
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("blog_category")
|
||||
public class BlogCategory extends AbstractEntity {
|
||||
@TableField("name")
|
||||
private String name;
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractIdEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* @Author: Cxx
|
||||
* @Date: 2024/9/15 10:09
|
||||
* @Description: 博客内容
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("blog_content")
|
||||
public class BlogContent extends AbstractIdEntity {
|
||||
@TableField("content")
|
||||
private String content;
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("blog_visit")
|
||||
public class BlogVisit extends AbstractEntity {
|
||||
@TableField("ip")
|
||||
private String ip;
|
||||
|
||||
@TableField("os")
|
||||
private String os;
|
||||
|
||||
@TableField("browser")
|
||||
private String browser;
|
||||
|
||||
@TableField("uri")
|
||||
private String uri;
|
||||
|
||||
@TableField("blog_id")
|
||||
private Long blogId;
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("budget")
|
||||
public class Budget extends AbstractEntity {
|
||||
@TableField("category_id")
|
||||
private Long categoryId;
|
||||
|
||||
@TableField("project")
|
||||
private String project;
|
||||
|
||||
@TableField("content")
|
||||
private String content;
|
||||
|
||||
@TableField("vendor")
|
||||
private String vendor;
|
||||
|
||||
@TableField("budget")
|
||||
private Double budget;
|
||||
|
||||
@TableField("actual")
|
||||
private Double actual;
|
||||
|
||||
@TableField("pay_time")
|
||||
private Date payTime;
|
||||
|
||||
@TableField("remake")
|
||||
private String remake;
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("budget_category")
|
||||
public class BudgetCategory extends AbstractEntity {
|
||||
@TableField("name")
|
||||
private String name;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("file_record")
|
||||
public class FileRecord extends AbstractEntity {
|
||||
@TableField("name")
|
||||
private String name;
|
||||
|
||||
@TableField("md5")
|
||||
private String md5;
|
||||
|
||||
@TableField("path")
|
||||
private String path;
|
||||
|
||||
@TableField("url")
|
||||
private String url;
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("plan")
|
||||
public class Plan extends AbstractEntity {
|
||||
@TableField("title")
|
||||
private String title;
|
||||
|
||||
@TableField("content")
|
||||
private String content;
|
||||
|
||||
@TableField(value = "date", updateStrategy = FieldStrategy.ALWAYS)
|
||||
private Date date;
|
||||
|
||||
@TableField(value = "start_time", updateStrategy = FieldStrategy.ALWAYS)
|
||||
private Date startTime;
|
||||
|
||||
@TableField(value = "end_time", updateStrategy = FieldStrategy.ALWAYS)
|
||||
private Date endTime;
|
||||
|
||||
@TableField(value = "alter_time", updateStrategy = FieldStrategy.ALWAYS)
|
||||
private Date alterTime;
|
||||
|
||||
@TableField(value = "task_id", updateStrategy = FieldStrategy.ALWAYS)
|
||||
private Long taskId;
|
||||
|
||||
@TableField("tag")
|
||||
private String tag;
|
||||
|
||||
@TableField("is_top")
|
||||
private Integer isTop;
|
||||
|
||||
@TableField("priority")
|
||||
private Integer priority;
|
||||
|
||||
@TableField("completed")
|
||||
private Integer completed;
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package com.cxx.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.cxx.framework.data.AbstractEntity;
|
||||
import com.cxx.framework.data.AbstractIdEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("task")
|
||||
public class Task extends AbstractIdEntity {
|
||||
@TableField("type")
|
||||
private String type;
|
||||
|
||||
@TableField("content")
|
||||
private String content;
|
||||
|
||||
@TableField("execute_time")
|
||||
private Date executeTime;
|
||||
|
||||
@TableField("cron_expression")
|
||||
private String cronExpression;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.BillBook;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BillBookMapper extends BaseMapper<BillBook> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.BillCategory;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BillCategoryMapper extends BaseMapper<BillCategory> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.BillImage;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BillImageMapper extends BaseMapper<BillImage> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.BillPay;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BillPayMapper extends BaseMapper<BillPay> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.BillRecord;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BillRecordMapper extends BaseMapper<BillRecord> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.BlogCategory;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BlogCategoryMapper extends BaseMapper<BlogCategory> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.BlogContent;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BlogContentMapper extends BaseMapper<BlogContent> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.Blog;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BlogMapper extends BaseMapper<Blog> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.BlogVisit;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BlogVisitMapper extends BaseMapper<BlogVisit> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.BudgetCategory;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BudgetCategoryMapper extends BaseMapper<BudgetCategory> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.Budget;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BudgetMapper extends BaseMapper<Budget> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.FileRecord;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface FileRecordMapper extends BaseMapper<FileRecord> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.Plan;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface PlanMapper extends BaseMapper<Plan> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.cxx.common.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.cxx.common.entity.Task;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface TaskMapper extends BaseMapper<Task> {
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package com.cxx.common.vo.bill;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class BillQueryVo {
|
||||
@Schema(description = "账本名称")
|
||||
private String bookName;
|
||||
|
||||
@Schema(description = "账单类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "开始日期")
|
||||
private String startDate;
|
||||
|
||||
@Schema(description = "结束日期")
|
||||
private String endDate;
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
package com.cxx.common.vo.blog;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
/**
|
||||
* @Author: Cxx
|
||||
* @Date: 2024/9/16 19:52
|
||||
* @Description:
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
public class BlogQueryVo {
|
||||
@Schema(description = "博客类别")
|
||||
private String category;
|
||||
|
||||
@Schema(description = "博客标题")
|
||||
private String title;
|
||||
|
||||
@Schema(description = "博客年份")
|
||||
private Integer year;
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
package com.cxx.common.vo.plan;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class PlanQueryVo {
|
||||
@Schema(description = "数据类型")
|
||||
private String planType;
|
||||
|
||||
@Schema(description = "排序类型")
|
||||
private String orderType;
|
||||
}
|
||||
Reference in New Issue
Block a user