import { InputType, Field, Float, ID } from "@nestjs/graphql";
import { Types } from "mongoose";

@InputType()
export class UpdateBuildAddressInput {

    @Field({ nullable: true })
    buildNumber?: string;

    @Field({ nullable: true })
    doorNumber?: string;

    @Field({ nullable: true })
    floorNumber?: string;

    @Field({ nullable: true })
    commentAddress?: string;

    @Field({ nullable: true })
    letterAddress?: string;

    @Field({ nullable: true })
    shortLetterAddress?: string;

    @Field(() => Float, { nullable: true })
    latitude?: number;

    @Field(() => Float, { nullable: true })
    longitude?: number;

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

}
