package com.jeesharp.business.modules.marketing.couponVerifyLog.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.jeesharp.business.modules.member.vo.MemberOrderDisplay;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 核销流水 Excel 导出行。
 *
 * @author jeesharp
 * @since 2026-06-25
 */
@Data
@Schema(description = "核销流水导出VO")
public class MemberCouponVerifyLogExportVO implements MemberOrderDisplay {

    @Schema(description = "会员ID")
    private String memberId;

    @ExcelProperty("会员编号")
    @Schema(description = "会员编号")
    private String memberNo;

    @ExcelProperty("会员姓名")
    @Schema(description = "会员姓名/昵称")
    private String memberNickname;

    @ExcelProperty("会员手机")
    @Schema(description = "会员手机")
    private String memberMobile;

    @ExcelProperty("优惠券名称")
    @Schema(description = "优惠券名称")
    private String couponName;

    @ExcelProperty("核销类型")
    @Schema(description = "核销类型名称")
    private String verifyTypeName;

    @ExcelProperty("核销时间")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    @Schema(description = "核销时间")
    private LocalDateTime verifyTime;

    @ExcelProperty("操作人")
    @Schema(description = "操作人姓名")
    private String operatorName;

    @ExcelProperty("核销租户编码")
    @Schema(description = "核销租户编码")
    private String verifyTenantCode;

    @ExcelProperty("核销令牌")
    @Schema(description = "核销令牌")
    private String verifyToken;
}
