package com.casic.missiles.dto.workbench;

import com.casic.missiles.annotation.DictCodeField;
import com.casic.missiles.constants.MeterDictCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description: 工作提醒消息请求实体
 * @Author: wangpeng
 * @Date: 2023/3/2 16:43
 */
@ApiModel
@Data
public class RemindMessageRequest {
    @ApiModelProperty(value = "消息提醒的用户id", dataType = "Long")
    private Long remindId;

    @ApiModelProperty(value = "消息提醒的用户部门id", dataType = "Long")
    private Long remindDeptId;

    @ApiModelProperty(value = "消息提醒开始时间", dataType = "String")
    private String startTime;

    @ApiModelProperty(value = "消息提醒结束时间", dataType = "String")
    private String endTime;

    @ApiModelProperty(value = "消息提醒的业务类型（字典code）", dataType = "String")
    private String messageType;

    @DictCodeField(message = "来源模块不合法", cacheName = MeterDictCode.MESSAGE_SOURCE_MODULE)
    @ApiModelProperty(value = "来源模块（字典code）", dataType = "String")
    private String messageSourceModule;

    @ApiModelProperty(value = "已读1未读0", dataType = "Integer")
    private Integer status;
}
