package com.ruoyi.docking.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 智能提醒关联表(SmartDeclaration)表实体类
 *
 * @author makejava
 * @since 2025-03-31 14:57:57
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("gysl_smart_declaration")
@ApiModel(value="智能提醒关联表",description = "智能提醒")
public class SmartDeclaration {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("Id")
    private Long id;
   

    @ApiModelProperty(value ="智能提醒id" )
    private Long smartRemindersId;
   

    @ApiModelProperty(value ="1未读 2已读" )
    private Integer isRead;
   

    @ApiModelProperty(value ="统一社会信用代码" )
    private String tyshxydm;
   

    @ApiModelProperty(value ="项目id" )
    private Long projectId;
   

    @ApiModelProperty(value ="提醒时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime alertTime;

    @ApiModelProperty(value ="提醒内容" )
    private String content;

    @ApiModelProperty(value ="政务用户id" )
    private Long zwId;
}

