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-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SweetArtists implements Serializable,Cloneable {

    private static final long serialVersionUID = 1L;

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

    /**
     * artists_id
     */
    private String artistsId;

    /**
     * 图片地址
     */
    private String picUrl;

    /**
     * 艺人名称
     */
    private String name;

    /**
     * 拼音
     */
    private String pinyin;

    /**
     * 艺人简介
     */
    private String describes;

    /**
     * 状态 1可用 0不可用
     */
    private Integer status;

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

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

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