From 8b7258c9427882bb1798f1502eaa35184c6e374e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 09 Aug 2024 14:29:18 +0800
Subject: [PATCH] 短信指定楼栋发送

---
 src/main/java/org/springblade/modules/rotation/entity/RotationEntity.java |   98 +++++++++++++++++++++++++-----------------------
 1 files changed, 51 insertions(+), 47 deletions(-)

diff --git a/src/main/java/org/springblade/modules/rotation/entity/RotationEntity.java b/src/main/java/org/springblade/modules/rotation/entity/RotationEntity.java
index bd2c520..1412c10 100644
--- a/src/main/java/org/springblade/modules/rotation/entity/RotationEntity.java
+++ b/src/main/java/org/springblade/modules/rotation/entity/RotationEntity.java
@@ -16,10 +16,7 @@
  */
 package org.springblade.modules.rotation.entity;
 
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableLogic;
-import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.*;
 import com.fasterxml.jackson.annotation.JsonFormat;
 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
 import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
@@ -53,58 +50,65 @@
 	@TableId(value = "id", type = IdType.AUTO)
 	private Integer id;
 
-	/**
-	 * 名称
-	 */
-	@ApiModelProperty(value = "名称")
+	/** 名称 */
+	@ApiModelProperty(value = "名称", example = "")
+	@TableField("name")
 	private String name;
-	/**
-	 * 类型 1:系统  2:社区
-	 */
-	@ApiModelProperty(value = "类型 1:系统  2:社区")
-	private String type;
-	/**
-	 * 内容
-	 */
-	@ApiModelProperty(value = "内容")
+
+	/** 类型 1:系统 2:社区 */
+	@ApiModelProperty(value = "类型 3:系统 2:综治  1:公安", example = "")
+	@TableField("type")
+	private Integer type;
+
+	/** 内容 */
+	@ApiModelProperty(value = "内容", example = "")
+	@TableField("context")
 	private String context;
-	/**
-	 * 图片地址
-	 */
-	@ApiModelProperty(value = "图片地址")
+
+	/** 图片地址 */
+	@ApiModelProperty(value = "图片地址", example = "")
+	@TableField("url")
 	private String url;
-	/**
-	 * 跳转地址
-	 */
-	@ApiModelProperty(value = "跳转地址")
+
+	/** 跳转地址 */
+	@ApiModelProperty(value = "跳转地址", example = "")
+	@TableField("junp_url")
 	private String junpUrl;
 
-	/**
-	 * 所属社区编号
-	 */
-	@ApiModelProperty(value = "所属社区编号")
+	/** 所属社区编号 */
+	@ApiModelProperty(value = "所属社区编号", example = "")
+	@TableField("community_code")
 	private String communityCode;
 
-	/**
-	 * 创建人
-	 */
-	@JsonSerialize(using = ToStringSerializer.class)
-	@ApiModelProperty("创建人")
-	private Long createUser;
-
-	/**
-	 * 创建时间
-	 */
-	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
-	@ApiModelProperty("创建时间")
+	/** 创建时间 */
+	@ApiModelProperty(value = "创建时间", example = "")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+	@TableField("create_time")
 	private Date createTime;
 
-	/**
-	 * 是否删除
-	 */
-	@TableLogic
-	@ApiModelProperty("是否已删除 0:否  1:是")
+	/** 创建人 */
+	@ApiModelProperty(value = "创建人", example = "")
+	@TableField("create_user")
+	private Long createUser;
+
+	/** 是否删除  0:否  1:是 */
+	@ApiModelProperty(value = "是否删除  0:否  1:是", example = "")
+	@TableField("is_deleted")
 	private Integer isDeleted;
 
+	/** 范围 */
+	@ApiModelProperty(value = "范围", example = "")
+	@TableField("rotation_range")
+	private String rotationRange;
+
+	/** 文章id */
+	@ApiModelProperty(value = "文章id", example = "")
+	@TableField("article_id")
+	private Integer articleId;
+
+	/** 是否公开:1:否 2:是 */
+	@ApiModelProperty(value = "是否公开:1:否 2:是", example = "")
+	@TableField("public_flag")
+	private Integer publicFlag;
+
 }

--
Gitblit v1.9.3