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;

/**
 * 客小爽机具划拨表(KxsMachineTransfer)表实体类
 *
 * @author 系统
 * @since 2023-12-20 10:09:35
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsMachineTransfer extends Model<KxsMachineTransfer> 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;


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

    /**
     * 机具号
     */
    @Schema(description = "机具号")
    private String machineSn;


    /**
     * 拨出用户ID
     */
    @Schema(description = "拨出用户ID")
    private Integer sendUserId;


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


    /**
     * 拨入用户ID
     */
    @Schema(description = "拨入用户ID")
    private Integer toUserId;

    /**
     * 拨入用户
     */
    @Schema(description = "拨入用户")
    private String toUserName;

    /**
     * 拨入用户码
     */
    @Schema(description = "拨入用户码")
    private String toUserCode;


    /**
     * 机具类型 0兑换机 1循环机
     */
    @Schema(description = "机具类型 0兑换机 1循环机")
    private Integer machineType;


    /**
     * 划拨类型 0未绑定划拨 1转商户型创客
     */
    @Schema(description = "划拨类型 0未绑定划拨 1转商户型创客")
    private Integer transferType;




}

