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

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hotwj.platform.operationManagement.smsCompanyStat.domain.HotSmsCompanyStat;
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_company_stat
 *
 * @author shihongwei
 * @date 2026-04-28
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotSmsCompanyStat.class)
public class HotSmsCompanyStatVo 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;

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

    /**
     * 总发送条数
     */
    @ExcelProperty(value = "总发送条数")
    private Long totalSendCount;

    /**
     * 总成功到达量
     */
    @ExcelProperty(value = "总成功到达量")
    private Long totalSuccessCount;

    /**
     * 总计费量
     */
    @ExcelProperty(value = "总计费量")
    private Long totalBillableCount;

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

    /**
     * 剩余短信
     */
    @ExcelProperty(value = "剩余短信")
    private Long remainingSmsCount;

    /**
     * 最近统计时间
     */
    @ExcelProperty(value = "最近统计时间")
    private Date lastStatTime;

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

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

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

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


}
