package com.cool.store.entity;

import lombok.Data;

import java.util.Date;
import javax.persistence.*;

@Table(name = "zxjp_store_message")
@Data
public class StoreMessageDO {
    /**
     * 主键ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     * 门店编码
     */
    @Column(name = "store_id")
    private String storeId;

    /**
     * 门店编码
     */
    @Column(name = "store_code")
    private String storeCode;

    /**
     * 门店名称
     */
    @Column(name = "store_name")
    private String storeName;

    /**
     * 关联的消息模板ID
     */
    @Column(name = "message_template_id")
    private Long messageTemplateId;

    /**
     * 阅读状态(0:未读 1:已读)
     */
    @Column(name = "read_status")
    private Integer readStatus;

    /**
     * 阅读时间
     */
    @Column(name = "read_time")
    private Date readTime;

    /**
     * 处理状态(0:未处理 1:处理中)
     */
    @Column(name = "process_status")
    private Integer processStatus;

    /**
     * 处理时间
     */
    @Column(name = "process_time")
    private Date processTime;

    /**
     * 实际操作人ID
     */
    @Column(name = "actual_operator_id")
    private String actualOperatorId;

    /**
     * 实际操作人姓名
     */
    @Column(name = "actual_operator_name")
    private String actualOperatorName;

    /**
     * 撤销状态(0:未撤销 1:已撤销)
     */
    @Column(name = "revoke_status")
    private Integer revokeStatus;

    /**
     * 撤销时间
     */
    @Column(name = "revoke_time")
    private Date revokeTime;

    /**
     * 撤销操作人ID
     */
    @Column(name = "revoke_operator_id")
    private String revokeOperatorId;

    /**
     * 撤销操作人姓名
     */
    @Column(name = "revoke_operator_name")
    private String revokeOperatorName;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 操作人列表 逗号隔开
     */
    @Column(name = "operator_list")
    private String operatorList;


}