import mongoose from "mongoose";
import { TenantType } from "../../enums/tenant-types.enum";
import { User } from "../user/user.dto";
import { Address } from "../user/address.dto";

export interface Tenant {
    _id?: string; //mongo id
    id?: string;
    name: string;
    email: string;
    phone?: string;
    ownerId: string;
    tenantId: string;
    homePageOriginURL: string;
    supportEmail: string;
    hasShippingAddress?: boolean;
    membership?: string;
    tenantType: TenantType;
    user: User;
    businessAddress?: mongoose.Schema.Types.ObjectId | Address;
}
