package org.dromara.pay.domain.vo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.pay.domain.PayChannel;
import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 支付渠道视图对象 pay_channel
 *
 * @author pengles
 */
@Data
@AutoMapper(target = PayChannel.class)
public class PayChannelVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 渠道ID
     */
    private Long id;

    /**
     * 渠道编码(alipay_pc, wx_pub)
     */
    private String code;

    /**
     * 状态(0开启 1关闭)
     */
    private Integer status;

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

    /**
     * 渠道费率(%)
     */
    private Double feeRate;

    /**
     * 应用ID
     */
    private Long appId;

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

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;
}
