package com.izouma.jmrh.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

@Data
@Entity
@AllArgsConstructor
@Builder
@NoArgsConstructor
public class MailCode extends BaseEntity {

    private String mail;

    private String code;

    private LocalDateTime expireAt;

    private boolean expired;
}
