package com.sckw.payment.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 对账-物流订单-对账关联交易订单
 * @author xucaiqin
 * @date 2023-07-10 16:42:19
 */
@Data
@TableName(value = "kwp_ledger_logistics_order")
public class KwpLedgerLogisticsOrder {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 物流订单对账id(kwp_ledger_logistics)
     */
    @TableField(value = "l_ledger_id")
    private Long lLedgerId;

    /**
     * 物流订单id（kwt_logistics_order）
     */
    @TableField(value = "l_order_id")
    private Long lOrderId;

    /**
     * 物流订单编号（kwt_logistics_order）
     */
    @TableField(value = "l_order_no")
    private String lOrderNo;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 用户状态（0正常、1已锁）
     */
    @TableField(value = "`status`")
    private Integer status;

    @TableField(value = "create_by")
    private Long createBy;

    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "update_by")
    private Long updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private LocalDateTime updateTime;

    /**
     * 是否删除（0未删除，1删除）
     */
    @TableField(value = "del_flag")
    private Integer delFlag;
}