package com.gxwebsoft.shop.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.gxwebsoft.common.system.entity.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 商铺线下支付
 *
 * @author 科技小王子
 * @since 2025-05-28 18:23:45
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "MerchantOfflinePay对象", description = "商铺线下支付")
@TableName("shop_merchant_offline_pay")
public class MerchantOfflinePay implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer merchantId;

    private String orderNo;

    private BigDecimal amount;

    private Integer isPaid;

    private String paidNumber;

    private String remark;

    private Integer userId;

    @ApiModelProperty(value = "商城ID")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @TableField(exist = false)
    private Merchant merchant;

    @TableField(exist = false)
    private User user;

    @TableField(exist = false)
    private Integer totalNum;
}
