package com.dbnt.kcgfilemanager.model;

import lombok.*;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.*;

@Getter
@Setter
@Entity
@NoArgsConstructor
@DynamicInsert
@DynamicUpdate
@Table(name = "COMMON_CODE")
public class CommonCode {
  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  @Column(name = "CODE_SQ")
  private Integer codeSq;
  @Column(name = "CATEGORY", nullable = false)
  private String category;
  @Column(name = "VALUE", nullable = false)
  private String value;
  @Column(name = "DESCRIPTION")
  private String description;
  @Column(name = "IS_DELETED")
  private String isDeleted;

}
