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-08-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SweetManualTfc 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;

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

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

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