package com.izouma.nineth.domain;

import com.izouma.nineth.enums.RecordType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Entity
public class DestroyRecord extends BaseEntity {
    private Long userId;

    private Long assetId;

    private int record;

    private String name;

    private String pic;

    @Enumerated(EnumType.STRING)
    private RecordType type;
}
