package com.liquidnet.service.sweet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

    private static final long serialVersionUID = 1L;

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

    /**
     * manual_notify_id
     */
    private String manualNotifyId;

    /**
     * 电子宣传手册id
     */
    private String manualId;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

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

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

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

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