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>
 * 2021草莓音乐节海报活动选择阵容表
 * </p>
 *
 * @author jiangxiulong
 * @since 2021-11-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SweetStrawberryPosterLineup implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * lineup_id
     */
    private String lineupId;

    /**
     * poster_id 海报id
     */
    private String posterId;

    /**
     * 阵容编号
     */
    private String lineupNum;

    /**
     * 音乐人id
     */
    private Integer musicianId;

    /**
     * 音乐人姓名
     */
    private String musicianName;

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

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

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

}
