package com.patzn.lims.res.entity;

import java.util.Date;
import com.patzn.lims.core.bean.BaseEntity;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wwd
 * @since 2020-03-18
 */
@Data
@Accessors(chain = true)
@ApiModel
public class SysMsg extends BaseEntity {

    @ApiModelProperty(value = "消息内容")
	private String name;
    @ApiModelProperty(value = "类型")
	private Integer type;
    @ApiModelProperty(value = "请求URI")
	private String uri;
    @ApiModelProperty(value = "消息发送人")
	private String sender;
    @ApiModelProperty(value = "消息发送人ID")
	private Long senderId;
    @ApiModelProperty(value = "消息标题")
	private String title;
    @ApiModelProperty(value = "创建时间")
	@TableField(fill = FieldFill.INSERT)
	private Date ctime;
    @ApiModelProperty(value = "创建人ID")
	@TableField(fill = FieldFill.INSERT)
	private Long uid;
    @ApiModelProperty(value = "最后修改人ID")
	@TableField(fill = FieldFill.UPDATE)
	private Long lid;
    @ApiModelProperty(value = "是否删除0否1是")
    @TableLogic
	private Integer deleted;
    @ApiModelProperty(value = "企业ID")
	@TableField(fill = FieldFill.INSERT)
	private Long companyId;


}
