package com.liquidnet.service.kylin.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 2026-02-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class KylinArtistAlbum implements Serializable, Cloneable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 相册ID
     */
    private String albumId;

    /**
     * 艺人ID
     */
    private String artistId;

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

    /**
     * 排序权重
     */
    private Integer sort;

    /**
     * 状态 1启用 0禁用
     */
    private Integer status;

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

    /**
     * 修改时间
     */
    private LocalDateTime updatedAt;

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