package com.kxs.store.api.model;

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

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 客小爽仓库临额充值表(KxsToForAmount)表实体类
 *
 * @author 系统
 * @since 2024-01-08 09:46:02
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsToForAmount extends Model<KxsToForAmount> implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    
    
    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    @TableId(type = IdType.AUTO)
    private Integer id;


    /**
     * 新增时间
     */
    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "新增时间")
    private LocalDateTime createTime;


    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;


    /**
     * 删除标记，0未删除，1已删除
     */
    @Schema(description = "删除标记，0未删除，1已删除")
    private Integer delFlag;


    /**
     * 版本
     */
    @Schema(description = "版本")
    private Integer version;


    /**
     * 充值额度
     */
    @Schema(description = "充值额度")
    private BigDecimal amount;


    /**
     * 付款金额
     */
    @Schema(description = "付款金额")
    private BigDecimal payAmount;


    /**
     * 支付渠道 0余额 1支付宝
     */
    @Schema(description = "支付渠道 0余额 1支付宝")
    private Integer payType;


    /**
     * 状态 0未支付 1已支付 2取消订单
     */
    @Schema(description = "状态 0未支付 1已支付 2取消订单")
    private Integer status;


    /**
     * 充值类型 0分仓充值 1小分仓充值
     */
    @Schema(description = "充值类型 0分仓充值 1小分仓充值")
    private Integer forType;


    /**
     * 商城订单id
     */
    @Schema(description = "商城订单id")
    private Integer orderId;




}

