package com.liquidnet.service.sweet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 电子宣传手册表
 * </p>
 *
 * @author liquidnet
 * @since 2021-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SweetManual implements Serializable,Cloneable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "mid", type = IdType.AUTO)
    private Long mid;

    /**
     * manual_id
     */
    private String manualId;

    /**
     * 演出id
     */
    private String performanceId;

    /**
     * 0关闭 1开启
     */
    private Integer status;

    /**
     * 0取消 1发布
     */
    private Integer isRelease;

    /**
     * 0取消手册 1发布手册
     */
    private Integer isReleaseManual;

    /**
     * 餐饮攻略链接
     */
    private String foodGuideUrl;

    /**
     * 相册链接
     */
    private String albumUrl;

    /**
     * 失物招领问卷星ID
     */
    private String lostFoundWjxId;

    /**
     * 地图GeoJSON文件地址
     */
    private String mapGeojsonUrl;

    /**
     * 创建时间
     */
    private LocalDateTime createdAt;

    /**
     * 更新时间
     */
    private LocalDateTime updatedAt;

    private static final SweetManual obj = new SweetManual();
    public static SweetManual getNew() {
        try {
            return (SweetManual) obj.clone();
        } catch (CloneNotSupportedException e) {
            return new SweetManual();
        }
    }
}
