package com.muchinfo.mtp3pojos.entity;

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 com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 混合支付渠道配置表
 * </p>
 *
 * @author XKF
 * @since 2025-06-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("HYBRID_CHANNEL_CONFIG")
@ApiModel(value="HybridChannelConfig对象", description="混合支付渠道配置表")
public class HybridChannelConfig extends Model<HybridChannelConfig> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "渠道代码")
    private String channelCode;

    @ApiModelProperty(value = "渠道名称")
    @TableField("CHANNEL_NAME")
    private String channelName;

    @ApiModelProperty(value = "入金是否可用 0-不可用 1-可用")
    @TableField("CAN_AMT_IN")
    private Integer canAmtIn;

    @ApiModelProperty(value = "出金是否可用 0-不可用 1-可用")
    @TableField("CAN_AMT_OUT")
    private Integer canAmtOut;


    @Override
    public Serializable pkVal() {
        return this.channelCode;
    }

}
