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.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 客小爽分仓担保明细记录表(KxsWarehousePromiss)表实体类
 *
 * @author 系统
 * @since 2024-01-08 09:46:03
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KxsWarehouseCreditAmount extends Model<KxsWarehouseCreditAmount> 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
    @TableField(fill = FieldFill.INSERT)
    private String delFlag;


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


    /**
     * 担保人
     */
    @Schema(description = "担保人")
    private Integer creditUserId;


    /**
     * 担保金额
     */
    @Schema(description = "担保金额")
    private BigDecimal creditAmount;


    /**
     * 被担保人id
     */
    @Schema(description = "被担保人id")
    private Integer toCreditUserId;

    /**
     * 被担保人姓名
     */
    @Schema(description = "被担保人姓名")
    private Object username;


    /**
     * 被担保人编号
     */
    @Schema(description = "被担保人编号")
    private Object userCode;

    /**
     * 操作人
     */
    @Schema(description = "操作人")
    private Integer createBy;


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




}

