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

import com.hotwj.platform.operationManagement.smsRechargeRecord.domain.HotSmsRechargeRecord;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 短信充值记录业务对象 hot_sms_recharge_record
 *
 * @author shihongwei
 * @date 2026-04-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotSmsRechargeRecord.class, reverseConvertGenerate = false)
public class HotSmsRechargeRecordBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 公司ID（应用层保证必填）
     */
    private Long companyId;

    /**
     * 充值企业ID
     */
    private Long enterpriseId;

    /**
     * 充值企业
     */
    private String enterpriseName;

    /**
     * 短信购买记录ID（逻辑外键）
     */
    private Long rechargeOrderId;

    /**
     * 充值订单号
     */
    private String rechargeOrderNo;

    /**
     * 充值时间
     */
    private Date rechargeTime;

    /**
     * 充值金额（元）
     */
    private Long rechargeAmount;

    /**
     * 充值条数
     */
    private Long rechargeSmsCount;

    /**
     * 过期时间
     */
    private Date expireTime;

    /**
     * 操作人ID
     */
    private Long operatorId;

    /**
     * 操作人
     */
    private String operatorName;

    /**
     * 状态：1=生效 2=已过期 3=已作废
     */
    private Long status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 0=正常, 1=已删除
     */
    private Long isDeleted;


}
