增加消息板块
This commit is contained in:
		
							
								
								
									
										128
									
								
								ruoyi-system/src/main/java/com/ruoyi/wgz/domain/WgzMessage.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										128
									
								
								ruoyi-system/src/main/java/com/ruoyi/wgz/domain/WgzMessage.java
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,128 @@
 | 
			
		||||
package com.ruoyi.wgz.domain;
 | 
			
		||||
 | 
			
		||||
import com.ruoyi.common.annotation.Excel;
 | 
			
		||||
 | 
			
		||||
import io.swagger.annotations.ApiModel;
 | 
			
		||||
import io.swagger.annotations.ApiModelProperty;
 | 
			
		||||
import com.baomidou.mybatisplus.annotation.*;
 | 
			
		||||
import lombok.Data;
 | 
			
		||||
import lombok.NoArgsConstructor;
 | 
			
		||||
import lombok.experimental.Accessors;
 | 
			
		||||
import java.io.Serializable;
 | 
			
		||||
import java.util.Date;
 | 
			
		||||
import java.math.BigDecimal;
 | 
			
		||||
 | 
			
		||||
import java.time.LocalDateTime;
 | 
			
		||||
import java.time.LocalTime;
 | 
			
		||||
import java.time.LocalDate;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 消息对象 wgz_message
 | 
			
		||||
 *
 | 
			
		||||
 * @author ruoyi
 | 
			
		||||
 * @date 2025-02-24
 | 
			
		||||
 */
 | 
			
		||||
@Data
 | 
			
		||||
@NoArgsConstructor
 | 
			
		||||
@Accessors(chain = true)
 | 
			
		||||
@TableName("wgz_message")
 | 
			
		||||
@ApiModel("消息视图对象")
 | 
			
		||||
public class WgzMessage implements Serializable {
 | 
			
		||||
 | 
			
		||||
    private static final long serialVersionUID=1L;
 | 
			
		||||
 | 
			
		||||
    /** 主键自增ID */
 | 
			
		||||
    @ApiModelProperty("主键自增ID")
 | 
			
		||||
    @TableId(value = "id")
 | 
			
		||||
    private Long id;
 | 
			
		||||
 | 
			
		||||
    /** 发送类型(0系统 1务工者 2包工头) */
 | 
			
		||||
    @Excel(name = "发送类型" , readConverterExp = "0=系统,1=务工者,2=包工头")
 | 
			
		||||
    @ApiModelProperty("发送类型(0系统 1务工者 2包工头)")
 | 
			
		||||
    private String senderType;
 | 
			
		||||
 | 
			
		||||
    /** 发送人 */
 | 
			
		||||
    @Excel(name = "发送人")
 | 
			
		||||
    @ApiModelProperty("发送人")
 | 
			
		||||
    private Long senderId;
 | 
			
		||||
 | 
			
		||||
    /** 接收类型(1务工者 2包工头) */
 | 
			
		||||
    @Excel(name = "接收类型" , readConverterExp = "1=务工者,2=包工头")
 | 
			
		||||
    @ApiModelProperty("接收类型(1务工者 2包工头)")
 | 
			
		||||
    private String recipientType;
 | 
			
		||||
 | 
			
		||||
    /** 接收人 */
 | 
			
		||||
    @Excel(name = "接收人")
 | 
			
		||||
    @ApiModelProperty("接收人")
 | 
			
		||||
    private Long recipientId;
 | 
			
		||||
 | 
			
		||||
    /** 标题 */
 | 
			
		||||
    @Excel(name = "标题")
 | 
			
		||||
    @ApiModelProperty("标题")
 | 
			
		||||
    private String headline;
 | 
			
		||||
 | 
			
		||||
    /** 副标题 */
 | 
			
		||||
    @Excel(name = "副标题")
 | 
			
		||||
    @ApiModelProperty("副标题")
 | 
			
		||||
    private String subheading;
 | 
			
		||||
 | 
			
		||||
    /** 表ID */
 | 
			
		||||
    @Excel(name = "表ID")
 | 
			
		||||
    @ApiModelProperty("表ID")
 | 
			
		||||
    private Long tableId;
 | 
			
		||||
 | 
			
		||||
    /** 表名 */
 | 
			
		||||
    @Excel(name = "表名")
 | 
			
		||||
    @ApiModelProperty("表名")
 | 
			
		||||
    private String tableName;
 | 
			
		||||
 | 
			
		||||
    /** 大类型(字典) */
 | 
			
		||||
    @Excel(name = "大类型" , readConverterExp = "字=典")
 | 
			
		||||
    @ApiModelProperty("大类型(字典)")
 | 
			
		||||
    private String messageLargeType;
 | 
			
		||||
 | 
			
		||||
    /** 小类型(字典) */
 | 
			
		||||
    @Excel(name = "小类型" , readConverterExp = "字=典")
 | 
			
		||||
    @ApiModelProperty("小类型(字典)")
 | 
			
		||||
    private String messageSmallType;
 | 
			
		||||
 | 
			
		||||
    /** 读状态(0未读 1已读) */
 | 
			
		||||
    @Excel(name = "读状态" , readConverterExp = "0=未读,1=已读")
 | 
			
		||||
    @ApiModelProperty("读状态(0未读 1已读)")
 | 
			
		||||
    private String readStatus;
 | 
			
		||||
 | 
			
		||||
    /** 删除标志(0代表存在 2代表删除) */
 | 
			
		||||
    @Excel(name = "删除标志" , readConverterExp = "0=代表存在,2=代表删除")
 | 
			
		||||
    @ApiModelProperty("删除标志(0代表存在 2代表删除)")
 | 
			
		||||
    private String delFlag;
 | 
			
		||||
 | 
			
		||||
    /** 创建者 */
 | 
			
		||||
    @Excel(name = "创建者")
 | 
			
		||||
    @ApiModelProperty("创建者")
 | 
			
		||||
    @TableField(fill = FieldFill.INSERT)
 | 
			
		||||
    private String createBy;
 | 
			
		||||
 | 
			
		||||
    /** 创建时间 */
 | 
			
		||||
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
 | 
			
		||||
    @ApiModelProperty("创建时间")
 | 
			
		||||
    @TableField(fill = FieldFill.INSERT)
 | 
			
		||||
    private LocalDateTime createTime;
 | 
			
		||||
 | 
			
		||||
    /** 更新者 */
 | 
			
		||||
    @Excel(name = "更新者")
 | 
			
		||||
    @ApiModelProperty("更新者")
 | 
			
		||||
    @TableField(fill = FieldFill.INSERT_UPDATE)
 | 
			
		||||
    private String updateBy;
 | 
			
		||||
 | 
			
		||||
    /** 更新时间 */
 | 
			
		||||
    @Excel(name = "更新时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
 | 
			
		||||
    @ApiModelProperty("更新时间")
 | 
			
		||||
    @TableField(fill = FieldFill.INSERT_UPDATE)
 | 
			
		||||
    private LocalDateTime updateTime;
 | 
			
		||||
 | 
			
		||||
    /** 备注 */
 | 
			
		||||
    @Excel(name = "备注")
 | 
			
		||||
    @ApiModelProperty("备注")
 | 
			
		||||
    private String remark;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user