package cn.iocoder.yudao.module.inspection.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import cn.iocoder.yudao.annotation.Excel;
import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;

/**
 * warnMsg对象 warn_message
 *
 * @author zcy
 * @date 2023-10-13
 */
@Data
public class WarnMessage extends TenantBaseDO
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;
    //equ设备提醒file文件提醒
    private String type;
    //对应的数据主键
    private Long objectId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 提醒时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提醒时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date warnTime;

    /** 店铺主键 */
    @Excel(name = "店铺主键")
    private Long partnerId;

    /** 是否已读 */
    @Excel(name = "是否已读")
    private String isRead;

}
