package com.liquidnet.service.sweet.entity;

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



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

/**
 * <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;

    /**
     * pic_url
     */
    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();
        }
    }
}
