package com.hotwj.platform.pay.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.pay.domain.PayChannel;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 支付渠道
 * 视图对象 pay_channel
 *
 * @author shihongwei
 * @date 2026-05-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PayChannel.class)
public class PayChannelVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 渠道编码
     */
    @ExcelProperty(value = "渠道编码")
    private String code;

    /**
     * 开启状态
     */
    @ExcelProperty(value = "开启状态")
    private Long status;

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

    /**
     * 应用编号
     */
    @ExcelProperty(value = "应用编号")
    private Long appId;

    /**
     * 支付渠道配置
     */
    @ExcelProperty(value = "支付渠道配置")
    private String config;

    /**
     * 创建者姓名
     */
    @ExcelProperty(value = "创建者姓名")
    private String createByName;

    /**
     * 更新者姓名
     */
    @ExcelProperty(value = "更新者姓名")
    private String updateByName;

    /**
     * 0=正常, 1=已删除
     */
    @ExcelProperty(value = "0=正常, 1=已删除")
    private Long isDeleted;


}
