package com.ruoyi.controller.resp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.frequency.ordermessage.entity.OrderMessageUtil;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class MessageOrderPageResp {

    private Long orderId;

    private Integer orderType;

    /**
     * 1未读 2 已读
     */
    private Integer isRead;

    /**
     * 消息时间
     */
    private Date createTime;

    /**
     * 消息类型
     */
    private Integer messageType;

    /**
     * 消息标题
     */
    private String title;

    /**
     * 消息内容
     */
    private String content;


    @ApiModelProperty("订单信息")
    @TableField(exist = false)
    private OrderDetailResp order;

    @ApiModelProperty("商城订单信息")
    @TableField(exist = false)
    private MallOrderPageResp mallOrder;

}
