package com.dbnt.kcscbackend.admin.committee.entity;

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 = "tn_cmt_draft_detail")
public class TnCmtDraftDetail {

  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  @Column(name = "drft_dt_seq")
  private Long drftDtSeq;

  @Column(name = "drft_seq")
  private Long drftSeq;

  @Column(name = "drft_dt_type")
  private String drftDtType;

  @Column(name = "drft_dt_value")
  private String drftDtValue;

  @Column(name = "user_id")
  private String userId;

  @Column(name = "nick_name")
  private String nickName;

  @Column(name = "write_dt")
  private String writeDt;

  @Column(name = "drft_file_grp_id")
  private String drftFileGrpId;

}
