package quant.rich.emoney.entity.config;

import lombok.Data;
import lombok.experimental.Accessors;
import quant.rich.emoney.interfaces.ConfigInfo;
import quant.rich.emoney.interfaces.IConfig;

@Data
@Accessors(chain = true)
@ConfigInfo(field = "platform", name = "平台设置", initDefault = true)
public class PlatformConfig implements IConfig<PlatformConfig> {

    private String username;

    private String password;
    
    private String email;
    
    private String apiToken;

    private Boolean isInited;

    public PlatformConfig() {
        username = "admin";
        password = "";
        isInited = false;
    }

}
