package com.izouma.wenlvju.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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


@Data
@Builder
@Entity
@AllArgsConstructor
@NoArgsConstructor
public class MessageRecord extends BaseEntity {
    private String phone;

    private String token;

    @ApiModelProperty(value = "过期时间戳")
    private String expiryDate;

    private String requestContent;

    private String responseContent;

    @ApiModelProperty(value = "过期时间", name = "expiresAt")
    private LocalDateTime expiresAt;
}
