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

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.operationManagement.smsPackage.domain.HotSmsPackage;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 短信套餐视图对象 hot_sms_package
 *
 * @author shihongwei
 * @date 2026-05-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotSmsPackage.class)
public class HotSmsPackageVo 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;

    /**
     * 套餐编码
     */
    @ExcelProperty(value = "套餐编码")
    private String packageCode;

    /**
     * 套餐名称
     */
    @ExcelProperty(value = "套餐名称")
    private String packageName;

    /**
     * 短信条数（如1000/3000/5000）
     */
    @ExcelProperty(value = "短信条数", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "如=1000/3000/5000")
    private Long smsCount;

    /**
     * 套餐价（元）
     */
    @ExcelProperty(value = "套餐价", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "元=")
    private BigDecimal packagePrice;

    /**
     * 单条单价（元）
     */
    @ExcelProperty(value = "单条单价", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "元=")
    private BigDecimal unitPrice;

    /**
     * 状态：1=启用 0=停用
     */
    @ExcelProperty(value = "状态：1=启用 0=停用")
    private Long status;

    /**
     * 排序号
     */
    @ExcelProperty(value = "排序号")
    private Long sortNo;

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

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

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

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

    /**
     * 活动价格(元)
     */
    @ExcelProperty(value = "活动价格(元)")
    private BigDecimal activityPrice;


}
