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

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.*;
import java.time.LocalDate;
import java.awt.*;

@Getter
@Setter
@Accessors(chain = true)
@Entity
@NoArgsConstructor
@DynamicInsert
@DynamicUpdate
@Table(name = "tn_daily_user_log")
public class TnDailyUserConnLog {
    @Id
    @Column(name = "dul_seq")
    private Long dulSeq;

    @Column(name = "log_cnt")
    private Long logCnt;

    @Column(name = "log_dt")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate logDt;
}
