import { InputType, Field } from "@nestjs/graphql";
import { Types } from "mongoose";
import { ID } from "@nestjs/graphql";
import { ExpiryBaseInput } from "@/models/base.model";

@InputType()
export class CreateBuildSitesInput extends ExpiryBaseInput {

    @Field(() => String)
    siteName: string;

    @Field(() => String)
    siteNo: string;

    @Field(() => ID, { nullable: true })
    address?: Types.ObjectId;
}
