package com.kxs.product.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;

/**
 * 客小爽循环机记录表(KxsMachineCirculationLog)表实体类
 *
 * @author 系统
 * @since 2024-01-04 16:20:11
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsMachineCirculationLog extends Model<KxsMachineCirculationLog> 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 machineId;


    /**
     * 上级ID
     */
    @Schema(description = "上级ID")
    private Integer pid;


    /**
     * 上级路径
     */
    @Schema(description = "上级路径")
    private String pidPath;


    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Integer userId;


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


    /**
     * 源sn
     */
    @Schema(description = "源sn")
    private String sourceSn;




}

