package com.hotwj.platform.pay.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 支付渠道
 * 对象 pay_channel
 *
 * @author shihongwei
 * @date 2026-05-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("pay_channel")
public class PayChannel extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 商户编号
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 渠道编码
     */
    private String code;

    /**
     * 开启状态
     */
    private Long status;

    /**
     * 备注
     */
    private String remark;

    /**
     * 应用编号
     */
    private Long appId;

    /**
     * 支付渠道配置
     */
    private String config;

    /**
     * 0=正常, 1=已删除
     */
    @TableLogic
    private Long isDeleted;


}
