package com.dbnt.sims.equip.model;

import com.dbnt.sims.config.BaseModel;


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


import javax.persistence.*;


import java.time.LocalDateTime;



@Getter
@Setter
@Entity
@NoArgsConstructor
@DynamicInsert
@DynamicUpdate
@Table(name = "cellphone_mgt")
public class CellPhone extends BaseModel{
  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  @Column(name = "phone_key")
  private Integer phoneKey;
  @Column(name = "mgt_organ")
  private String mgtOrgan;
  @Column(name = "tel_no")
  private String telNo;
  @Column(name = "p_user_seq")
  private Integer pUserSeq;
  @Column(name = "ext_mail")
  private String extMail;
  @Column(name = "katalk_id")
  private String katalkId;
  @Column(name = "webex_no")
  private String webexNo;
  @Column(name = "description")
  private String description;
  @Column(name = "wrt_organ")
  private String wrtOrgan;
  @Column(name = "wrt_part")
  private String wrtPart;
  @Column(name = "wrt_user_seq")
  private Integer wrtUserSeq; 
  @Column(name = "wrt_nm")
  private String wrtNm;
  @Column(name = "wrt_dt")
  private LocalDateTime wrtDt;
  
  @Transient
  private String userNm;
  
  @Transient
  private String sosok;
  
  @Transient
  private String excel;

@Override
public String toString() {
	return "CellPhone [phoneKey=" + phoneKey + ", mgtOrgan=" + mgtOrgan + ", telNo=" + telNo + ", pUserSeq=" + pUserSeq
			+ ", extMail=" + extMail + ", katalkId=" + katalkId + ", webexNo=" + webexNo + ", description="
			+ description + ", wrtOrgan=" + wrtOrgan + ", wrtPart=" + wrtPart + ", wrtUserSeq=" + wrtUserSeq
			+ ", wrtNm=" + wrtNm + ", wrtDt=" + wrtDt + ", userNm=" + userNm + ", sosok=" + sosok + "]";
}
























}
