package com.izouma.nineth.domain;


import com.izouma.nineth.enums.MetaItemEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@ApiModel("元宇宙物品")
public class MetaItem extends BaseEntity {

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

    @Enumerated(EnumType.STRING)
    @ApiModelProperty("物品类型")
    private MetaItemEnum type;
}
