package com.kamco.cd.kamcoback.postgres.entity;

import com.kamco.cd.kamcoback.common.utils.interfaces.JsonFormatDttm;
import jakarta.persistence.*;
import java.time.ZonedDateTime;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Table(name = "demo_learning_analysis_scene_item")
@Entity
public class DemoLearningAnalysisSceneItemEntity {
  @Id
  @GeneratedValue(
      strategy = GenerationType.SEQUENCE,
      generator = "demo_learning_analysis_scene_item_group_item_id_gen")
  @SequenceGenerator(
      name = "demo_learning_analysis_scene_item_group_item_id_gen",
      sequenceName = "demo_learning_analysis_scene_item_group_item_id_seq",
      allocationSize = 1)
  @Column(name = "group_item_id", nullable = false)
  private Long id;

  @Column(name = "group_id")
  private Long groupId;

  @Column(name = "fid")
  private Long fid;

  @JsonFormatDttm
  @Column(name = "created_dttm")
  private ZonedDateTime createdDttm;
}
