package com.dbnt.faisp.main.faStatistics.crackdownsStatus.model.fishingBoat;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;

@Getter
@Setter
@Entity
@NoArgsConstructor
@DynamicInsert
@DynamicUpdate
@Table(name = "fishing_boat")
public class FishingBoat extends FishingBoatBaseEntity {

  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  @Column(name = "fb_key")
  private Integer fbKey;

  @Transient
  private String year;
  @Transient
  private String caseAgency;
  @Transient
  private String crackdownPolice;
  @Transient
  private String crackdownBoat;
  @Transient
  private String boatNny;
  @Transient
  private String processStatus;
  @Transient
  private String violation;

  @Transient
  private String boatMaterialEtc;
  @Transient
  private String fisheryTypeEtc;
}
