package com.bonus.material.basic.domain;

import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 bm_message
 * 
 * @author xsheng
 * @date 2024-12-20
 */


@Data
@ToString
public class BmMessage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** uuid */
    @Excel(name = "uuid")
    @ApiModelProperty(value = "uuid")
    private String uuid;

    /** 消息类型 */
    @Excel(name = "消息类型")
    @ApiModelProperty(value = "消息类型")
    private String messageType;

    /** 消息主题 */
    @Excel(name = "消息主题")
    @ApiModelProperty(value = "消息主题")
    private String messageTopic;

    /** 消息内容 */
    @Excel(name = "消息内容")
    @ApiModelProperty(value = "消息内容")
    private String messageContent;

    /** 来自userId */
    @Excel(name = "来自userId")
    @ApiModelProperty(value = "来自userId")
    private Long fromUser;

    /** 发给userId */
    @Excel(name = "发给userId")
    @ApiModelProperty(value = "发给userId")
    private Long toUser;

    /** 来自companyId */
    @Excel(name = "来自companyId")
    @ApiModelProperty(value = "来自companyId")
    private Long fromCompany;

    /** 来自companyId */
    @Excel(name = "来自companyId")
    @ApiModelProperty(value = "来自companyId")
    private Long[] fromCompanys;

    /** 来自companyName */
    @Excel(name = "来自companyName")
    @ApiModelProperty(value = "来自companyName")
    private String fromCompanyName;

    /** 发给companyId */
    @Excel(name = "发给companyId")
    @ApiModelProperty(value = "发给companyId")
    private Long toCompany;

    /** 发给companyName */
    @Excel(name = "发给companyName")
    @ApiModelProperty(value = "发给companyName")
    private String toCompanyName;

    @ApiModelProperty(value = "是否已读(0:未读 1:已读)")
    private Integer isRead;

    @ApiModelProperty(value = "消息未读数量")
    private Integer isNoRead;

}
