package com.propertyManagement.pay.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.propertyManagement.common.annotation.ExcelDictFormat;
import com.propertyManagement.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 支付商户视图对象 cms_pay_merchant
 *
 * @author liushuai
 * @date 2025-05-13
 */
@Data
@ExcelIgnoreUnannotated
public class CmsPayMerchantVo implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 商户编码
     */
    @ExcelProperty(value = "商户编码")
    private String merchantCode;

    /**
     * 商户名称
     */
    @ExcelProperty(value = "商户名称")
    private String merchantName;

    /**
     * 服务商编码
     */
    @ExcelProperty(value = "服务商编码")
    private String providerCode;

    /**
     * 商户配置（json）
     */
    @ExcelProperty(value = "商户配置", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "j=son")
    private String merchantConfig;

    /**
     * 状态  0 禁用  1 启用
     */
    @ExcelProperty(value = "状态  0 禁用  1 启用")
    private Integer isEnable;

    /**
     * 是否锁定  0 否 1 是
     */
    @ExcelProperty(value = "是否锁定  0 否 1 是")
    private Integer isLock;

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


}
