package com.hotwj.platform.operationManagement.smsRechargeRecord.domain.vo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hotwj.platform.operationManagement.smsRechargeRecord.domain.HotSmsRechargeRecord;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 短信充值记录视图对象 hot_sms_recharge_record
 *
 * @author shihongwei
 * @date 2026-04-28
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotSmsRechargeRecord.class)
public class HotSmsRechargeRecordVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 公司ID（应用层保证必填）
     */
    @ExcelProperty(value = "公司ID", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "应=用层保证必填")
    private Long companyId;

    /**
     * 充值企业ID
     */
    @ExcelProperty(value = "充值企业ID")
    private Long enterpriseId;

    /**
     * 充值企业
     */
    @ExcelProperty(value = "充值企业")
    private String enterpriseName;

    /**
     * 短信购买记录ID（逻辑外键）
     */
    @ExcelProperty(value = "短信购买记录ID", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "逻=辑外键")
    private Long rechargeOrderId;

    /**
     * 充值订单号
     */
    @ExcelProperty(value = "充值订单号")
    private String rechargeOrderNo;

    /**
     * 充值时间
     */
    @ExcelProperty(value = "充值时间")
    private Date rechargeTime;

    /**
     * 充值金额（元）
     */
    @ExcelProperty(value = "充值金额", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "元=")
    private Long rechargeAmount;

    /**
     * 充值条数
     */
    @ExcelProperty(value = "充值条数")
    private Long rechargeSmsCount;

    /**
     * 过期时间
     */
    @ExcelProperty(value = "过期时间")
    private Date expireTime;

    /**
     * 操作人ID
     */
    @ExcelProperty(value = "操作人ID")
    private Long operatorId;

    /**
     * 操作人
     */
    @ExcelProperty(value = "操作人")
    private String operatorName;

    /**
     * 状态：1=生效 2=已过期 3=已作废
     */
    @ExcelProperty(value = "状态：1=生效 2=已过期 3=已作废")
    private Long status;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 创建者姓名
     */
    @ExcelProperty(value = "创建者姓名")
    private String createByName;

    /**
     * 更新者姓名
     */
    @ExcelProperty(value = "更新者姓名")
    private String updateByName;

    /**
     * 0=正常, 1=已删除
     */
    @ExcelProperty(value = "0=正常, 1=已删除")
    private Long isDeleted;


}
