package cn.iocoder.yudao.module.server.controller.admin.smsrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 短信发送记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class SmsRecordRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "32229")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "手机号")
    @ExcelProperty("手机号")
    private String mobile;

    @Schema(description = "短信内容")
    @ExcelProperty("短信内容")
    private String content;

    @Schema(description = "发送状态：0-待发送，1-发送成功，2-发送失败", example = "2")
    @ExcelProperty("发送状态：0-待发送，1-发送成功，2-发送失败")
    private Integer sendStatus;

    @Schema(description = "错误信息")
    @ExcelProperty("错误信息")
    private String errorMessage;

    @Schema(description = "发送时间")
    @ExcelProperty("发送时间")
    private LocalDateTime sendTime;

    @Schema(description = "业务类型", example = "2")
    @ExcelProperty("业务类型")
    private String businessType;

    @Schema(description = "业务ID", example = "30787")
    @ExcelProperty("业务ID")
    private Long businessId;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}