package com.ruoyi.jarvis.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.erp.request.IERPAccount;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 闲管家开放平台应用配置（配置中心）
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ErpOpenConfig extends BaseEntity implements IERPAccount {

    private Long id;
    private String appKey;
    private String appSecret;
    private String xyUserName;
    /** 发货：快递公司编码（如日日顺，需与开放平台一致） */
    private String expressCode;
    private String expressName;
    private String status;
    private Integer orderNum;

    @Override
    public String getApiKey() {
        return appKey;
    }

    @Override
    public String getApiKeySecret() {
        return appSecret;
    }

    @Override
    public String getXyName() {
        return xyUserName;
    }
}
