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

@InputType()
export class UpdateBuildAreaInput {

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

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

    @Field(() => Float, { nullable: true })
    areaName?: string;

    @Field(() => Float, { nullable: true })
    areaCode?: string;

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

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

    @Field({ nullable: true })
    areaGrossSize?: number;

    @Field({ nullable: true })
    areaNetSize?: number;

    @Field({ nullable: true })
    width?: number;

    @Field({ nullable: true })
    size?: number;

}