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

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hotwj.platform.operationManagement.preJobPackagePurchase.domain.HotPreJobPackagePurchase;
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_pre_job_package_purchase
 *
 * @author shihongwei
 * @date 2026-04-28
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotPreJobPackagePurchase.class)
public class HotPreJobPackagePurchaseVo 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", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "逻=辑外键")
    private Long accountId;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 消费型企业ID
     */
    @ExcelProperty(value = "消费型企业ID")
    private Long consumerCompanyId;

    /**
     * 消费型企业名称
     */
    @ExcelProperty(value = "消费型企业名称")
    private String consumerCompanyName;

    /**
     * 订单管理表ID（逻辑外键）
     */
    @ExcelProperty(value = "订单管理表ID", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "逻=辑外键")
    private Long orderId;

    /**
     * 订单号
     */
    @ExcelProperty(value = "订单号")
    private String orderNo;

    /**
     * 岗前培训套餐ID
     */
    @ExcelProperty(value = "岗前培训套餐ID")
    private Long packageId;

    /**
     * 岗前培训套餐名称（快照）
     */
    @ExcelProperty(value = "岗前培训套餐名称", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "快=照")
    private String packageName;

    /**
     * 套餐内容（快照）
     */
    @ExcelProperty(value = "套餐内容", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "快=照")
    private String packageContent;

    /**
     * 套餐类型：1=常规套餐 2=活动套餐
     */
    @ExcelProperty(value = "套餐类型：1=常规套餐 2=活动套餐")
    private Long packageType;

    /**
     * 活动ID
     */
    @ExcelProperty(value = "活动ID")
    private Long activityId;

    /**
     * 活动名称（快照）
     */
    @ExcelProperty(value = "活动名称", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "快=照")
    private String activityName;

    /**
     * 原价（元）
     */
    @ExcelProperty(value = "原价", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "元=")
    private Long originPrice;

    /**
     * 活动价（元）
     */
    @ExcelProperty(value = "活动价", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "元=")
    private Long activityPrice;

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

    /**
     * 购买数量
     */
    @ExcelProperty(value = "购买数量")
    private Long quantity;

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

    /**
     * 支付方式：1=微信 2=支付宝 3=银行卡 4=余额
     */
    @ExcelProperty(value = "支付方式：1=微信 2=支付宝 3=银行卡 4=余额")
    private Long payMethod;

    /**
     * 支付状态：1=待支付 2=已支付 3=已退款 4=已取消 5=已关闭
     */
    @ExcelProperty(value = "支付状态：1=待支付 2=已支付 3=已退款 4=已取消 5=已关闭")
    private Long payStatus;

    /**
     * 下单时间
     */
    @ExcelProperty(value = "下单时间")
    private Date orderCreateTime;

    /**
     * 支付时间
     */
    @ExcelProperty(value = "支付时间")
    private Date payTime;

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

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

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

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


}
