package com.kxs.store.api.model;

import java.io.Serial;
import java.io.Serializable;
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;

/**
 * 客小爽机具申请详情表(KxsMachineApplyDetail)表实体类
 *
 * @author 系统
 * @since 2024-01-08 09:46:02
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsMachineApplyDetail extends Model<KxsMachineApplyDetail> 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;


    /**
     * 申请订单ID
     */
    @Schema(description = "申请订单ID")
    private Integer orderId;


    /**
     * 循环机具ID
     */
    @Schema(description = "循环机具ID")
    private Integer recycleMachineId;


    /**
     * 券码ID
     */
    @Schema(description = "券码ID")
    private Integer ticketId;


    /**
     * 申请类型 0循环申请 1兑换券
     */
    @Schema(description = "申请类型 0循环申请 1兑换券")
    private Integer applyType;


    /**
     * 兑换券码
     */
    @Schema(description = "兑换券码")
    private String ticketCode;


    /**
     * 发货机具号
     */
    @Schema(description = "发货机具号")
    private String posSn;

    /**
     * 发货机具ID
     */
    @Schema(description = "发货机具ID")
    private Integer machineId;




}

