|
|
package com.glxp.api.entity.system;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import java.io.Serializable;
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
import com.glxp.api.enums.PushStatusEnum;
|
|
|
import com.glxp.api.enums.TodoMsgTypeEnum;
|
|
|
import lombok.Data;
|
|
|
|
|
|
/**
|
|
|
*
|
|
|
* @TableName sys_msg_todo
|
|
|
*/
|
|
|
@TableName(value ="sys_msg_todo")
|
|
|
@Data
|
|
|
public class SysMsgTodoEntity {
|
|
|
/**
|
|
|
*
|
|
|
*/
|
|
|
@TableId(value = "id", type = IdType.AUTO)
|
|
|
private Long id;
|
|
|
|
|
|
/**
|
|
|
* 消息编码
|
|
|
*/
|
|
|
@TableField(value = "code")
|
|
|
private String code;
|
|
|
|
|
|
/**
|
|
|
* 消息类型(1:入院物资申请;2:单据审核;3:单据发票确认;5.资质审核;6:领用单审核;7:申购单审核;8:采购订单审核;)
|
|
|
*/
|
|
|
@TableField(value = "msgType")
|
|
|
private TodoMsgTypeEnum msgType;
|
|
|
|
|
|
/**
|
|
|
* 消息内容
|
|
|
*/
|
|
|
@TableField(value = "msgContent")
|
|
|
private String msgContent;
|
|
|
|
|
|
/**
|
|
|
* 处理状态
|
|
|
*/
|
|
|
@TableField(value = "dealStatus")
|
|
|
private Integer dealStatus;
|
|
|
|
|
|
/**
|
|
|
* 推送小程序状态(1:未推送;2:推送成功;3:推送失败
|
|
|
*/
|
|
|
@TableField(value = "pushStatus")
|
|
|
private PushStatusEnum pushStatus;
|
|
|
|
|
|
/**
|
|
|
* 跳转地址
|
|
|
*/
|
|
|
@TableField(value = "toUrl")
|
|
|
private String toUrl;
|
|
|
|
|
|
/**
|
|
|
* 创建时间
|
|
|
*/
|
|
|
@TableField(value = "createTime")
|
|
|
private LocalDateTime createTime;
|
|
|
|
|
|
/**
|
|
|
* 更新人
|
|
|
*/
|
|
|
@TableField(value = "updateUser")
|
|
|
private String updateUser;
|
|
|
|
|
|
/**
|
|
|
* 更新时间
|
|
|
*/
|
|
|
@TableField(value = "updateTime")
|
|
|
private LocalDateTime updateTime;
|
|
|
|
|
|
/**
|
|
|
* 所属仓库
|
|
|
*/
|
|
|
@TableField(value = "deptCode")
|
|
|
private String deptCode;
|
|
|
|
|
|
/**
|
|
|
* 所属仓库
|
|
|
*/
|
|
|
@TableField(value = "invCode")
|
|
|
private String invCode;
|
|
|
|
|
|
/**
|
|
|
* 备注
|
|
|
*/
|
|
|
@TableField(value = "remark")
|
|
|
private String remark;
|
|
|
} |