package com.njcn.user.pojo.po.app;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author xy
 */
@Data
@TableName("sms_send_record")
public class SmsSendRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    private String receiver;

    private String content;

    private String messageType;

    private String credentialToken;

    private Integer sendStatus;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String failReason;

    private Integer retryCount;

    private Integer maxRetry;

    private Long responseTime;

    private LocalDateTime sendTime;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
