package com.webchat.repository.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "web_chat_resource_behavior")
public class ResourceBehaviorEntity extends BaseEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    protected Long id;

    @Column(name = "USER_ID")
    private String userId;

    @Column(name = "RESOURCE_INDEX")
    private Long resourceIndex;

    @Column(name = "RESOURCE_TYPE")
    private String resourceType;

    @Column(name = "BEHAVIOR_TYPE")
    private String behaviorType;

    @Column(name = "status")
    private Boolean status;
}
