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

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
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 MemberTenantExportVO {

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

    @ExcelProperty("会员姓名")
    private String memberNickname;

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

    @ExcelProperty("店铺编码")
    private String tenantCode;

    @ExcelProperty("店铺名称")
    private String tenantName;

    @ExcelProperty("绑定状态")
    private String bindStatusName;

    @ExcelProperty("入会来源")
    private String joinSourceName;

    @ExcelProperty("推广渠道")
    private String channelCode;

    @ExcelProperty("店铺角色")
    private String memberRoleName;

    @ExcelProperty("入会时间")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private LocalDateTime joinDate;
}
