package com.dbnt.faisp.organMgt.model;

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

import javax.persistence.*;
import java.util.List;

@Getter
@Setter
@Entity
@NoArgsConstructor
@DynamicInsert
@DynamicUpdate
@Table(name = "organ_config")
public class OrganConfig {
  @Id
  @Column(name = "organ_cd")
  private String organCd;
  @Column(name = "organ_type")
  private String organType;
  @Column(name = "parent_organ")
  private String parentOrgan;

  @Transient
  private String organNm;
  @Transient
  private String useState;

}
