package com.yh.saas.plugin.yiliangyiyun.entity;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.annotations.Version;

import com.baomidou.mybatisplus.enums.IdType;
import com.yh.saas.common.support.entity.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Gdc
 * @since 2021-12-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("unimall_message")
public class UnimallMessage extends BaseModel<UnimallMessage> {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.UUID)
    private String id;
    private String customer;
    private String operation;
    private String result;
    private Integer status;
    private String taskId;
    /**
     * 消息跳转路径
     */
    private String path;
    private Date gmtCreate;
    private Date gmtUpdate;
    private String adminId;
    private String userId;
    private String companyId;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
