"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Network = void 0;
class Network {
    id;
    name;
    code;
    addressType;
    thumbnail;
    explorer;
    chainId;
    status;
    mcap;
    createdAt;
    updatedAt;
    constructor(id, name, code, addressType, thumbnail, explorer, chainId, status, mcap, createdAt, updatedAt) {
        this.id = id;
        this.name = name;
        this.code = code;
        this.addressType = addressType;
        this.thumbnail = thumbnail;
        this.explorer = explorer;
        this.chainId = chainId;
        this.status = status;
        this.mcap = mcap;
        this.createdAt = createdAt;
        this.updatedAt = updatedAt;
    }
    static create(id, name, code, addressType, thumbnail, explorer, chainId, status = 'active', mcap = null) {
        const now = new Date();
        return new Network(id, name, code, addressType, thumbnail, explorer, chainId, status, mcap, now, now);
    }
}
exports.Network = Network;
//# sourceMappingURL=network.js.map