package com.monolithicdemo.model.entity;

import lombok.*;

import javax.persistence.*;
import java.time.LocalDateTime;

@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
@Entity
public class Writer {

    @Id @GeneratedValue(strategy = GenerationType.SEQUENCE)
    private Long writerId;

    private String name;

    private LocalDateTime createdAt;
}
