package com.yeejoin.amos.boot.module.ugp.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;

/**
 * 整改短信通知表
 *
 * @author system_generator
 * @date 2022-09-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tz_ugp_rectify_msg")
public class RectifyMsg extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 质量问题id
     */
	@TableField("problem_id")
    private Long problemId;

    /**
     * 项目安装告知id
     */
    @TableField("install_notice_id")
    private Long installNoticeId;

    /**
     * 短信通知单位id
     */
	@TableField("notice_unit_id")
    private Long noticeUnitId;

    /**
     * 短信接收人
     */
	@TableField("msg_receiver")
    private Long msgReceiver;

    /**
     * 短信通知内容
     */
	@TableField("content")
    private String content;

    /**
     * 短信发送日期
     */
	@TableField("send_time")
    private Date sendTime;

    /**
     * 短信状态：已读、未读
     */
    @TableField("is_read")
    private Boolean isRead;

    /**
     * 短信状态：已读、未读
     */
    @TableField("is_problem")
    private Boolean isProblem;

}
