package com.cool.store.entity;

import lombok.Data;

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

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

    /**
     * 模块编码
     */
    @Column(name = "module_code")
    private Integer moduleCode;

    /**
     * 事项类型
     */
    @Column(name = "matter_type")
    private Integer matterType;

    /**
     * 系统来源
     */
    @Column(name = "system_source")
    private String systemSource;

    /**
     * 跳转方式(1:H5 2:小程序 )
     */
    @Column(name = "jump_type")
    private Integer jumpType;

    /**
     * 跳转链接
     */
    @Column(name = "jump_url")
    private String jumpUrl;

    /**
     * 状态(0:禁用 1:启用)
     */
    private Integer status;

    /**
     * 备注
     */
    private String remark;

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

    /**
     * 创建人
     */
    @Column(name = "create_user_id")
    private String createUserId;

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

    /**
     * 更新人
     */
    @Column(name = "update_user_id")
    private String updateUserId;

    /**
     * 删除标记(0:未删除 1:已删除)
     */
    private Boolean deleted;

    /**
     * 默认处理人信息 [{type:person,value:}{type:position,value:}]
     */
    @Column(name = "default_handle_person_info")
    private String defaultHandlePersonInfo;

    /**
     * 默认门店范围 [{type:store,value:}{type:region,value:}]
     */
    @Column(name = "default_store_info")
    private String defaultStoreInfo;

}