package com.izouma.nineth.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;

@Data
@Entity
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Recommend extends BaseEntity {

    @ApiModelProperty("藏品ID")
    private Long collectionId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("排序")
    private int sort;

    @ApiModelProperty("类型")
    private String type;

    private String pic;
}
