import mongoose from "mongoose";

export const AddressSchema = new mongoose.Schema(
    {
        address: {
            type: String,
        },
        city: {
            type: String,
        },
        zip: {
            type: String,
        },
        state: {
            type: String,
        },
        country: {
            type: String,
        },
        phone: {
            type: String,
        },
    },
    {
        timestamps: true,
        toJSON: { virtuals: true },
        toObject: {
            virtuals: true,
        },
    },
);
