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;

/**
 * 客小爽分仓申请补货订单表(KxsWarehouseMachineApply)表实体类
 *
 * @author 系统
 * @since 2024-01-08 09:46:02
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsWarehouseMachineApply extends Model<KxsWarehouseMachineApply> 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 String delFlag;


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


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


    /**
     * 申请数量
     */
    @Schema(description = "申请数量")
    private Integer applyNum;


    /**
     * 申请品牌数量json
     */
    @Schema(description = "申请品牌数量json")
    private String applyData;


    /**
     * 发货数量
     */
    @Schema(description = "发货数量")
    private Integer sendNum;


    /**
     * 使用额度
     */
    @Schema(description = "使用额度")
    private BigDecimal useAmount;


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

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String username;

    /**
     * 用户编号
     */
    @Schema(description = "用户编号")
    private String userCode;


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


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

    /**
     * 快递
     */
    @Schema(description = "快递")
    private String erpName;


    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;


    /**
     * 操作人
     */
    @Schema(description = "操作人")
    private String updateBy;


    /**
     * 状态 0待配货 1已发货 2已驳回
     */
    @Schema(description = "状态 0待配货 1已发货 2已驳回")
    private Integer status;




}

