package com.kxs.store.api.model;

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

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

/**
 * 客小爽仓库机具回收申请表(KxsMachineRecycle)表实体类
 *
 * @author 系统
 * @since 2024-01-08 09:46:02
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsMachineRecycle extends Model<KxsMachineRecycle> 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已删除")
    @TableLogic
    private Integer delFlag;


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


    /**
     * 申请单号
     */
    @Schema(description = "申请单号")
    private String orderSn;

    /**
     * 品牌名称
     */
    @Schema(description = "品牌名称")
    private String brandName;


    /**
     * 申请人ID
     */
    @Schema(description = "申请人ID")
    private Integer userId;


    /**
     * 送回方式 0送货上门 1邮寄
     */
    @Schema(description = "送回方式 0送货上门 1邮寄")
    private Integer getMode;


    /**
     * 回收仓库ID
     */
    @Schema(description = "回收仓库ID")
    private Integer warehouseId;

    /**
     * 回收仓库所属用户ID
     */
    @Schema(description = "回收仓库所属用户ID")
    private Integer warehouseUserId;


    /**
     * 品牌ID
     */
    @Schema(description = "品牌ID")
    private Integer brandId;


    /**
     * 快递单号
     */
    @Schema(description = "快递单号")
    private String trackNo;


    /**
     * 创客姓名
     */
    @Schema(description = "创客姓名")
    private String username;


    /**
     * 创客编号
     */
    @Schema(description = "创客编号")
    private String userCode;

    /**
     * 创客电话
     */
    @Schema(description = "创客电话")
    private String phone;




}

