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

import jakarta.persistence.*;
import lombok.Getter;
import lombok.Setter;
import org.locationtech.jts.geom.Geometry;

@Getter
@Setter
@Table(name = "tb_map_inkx_50k")
@Entity
public class MapInkx50kEntity {
  @Id
  @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "tb_map_inkx_50k_fid_seq_gen")
  @SequenceGenerator(
      name = "tb_map_inkx_50k_fid_seq_gen",
      sequenceName = "tb_map_inkx_50k_fid_seq",
      allocationSize = 1)
  private Integer fid;

  @Column(name = "mapidcd_no")
  private String mapidcdNo;

  @Column(name = "mapid_nm")
  private String mapidNm;

  @Column(name = "mapid_no")
  private String mapidNo;

  @Column(name = "geom")
  private Geometry geom;
}
