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;

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


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

    /**
     * 拨出用户姓名
     */
    @Schema(description = "拨入用户姓名")
    private String sendUserName;

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

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

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

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


    /**
     * 数量
     */
    @Schema(description = "数量")
    private Integer transferNum;


    /**
     * 券码类型 0电签 1大pos
     */
    @Schema(description = "券码类型 0电签 1大pos")
    private Integer ticketType;




}

