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

@InputType()
export class CreateCompanyInput extends ExpiryBaseInput {

    @Field()
    formal_name: string;

    @Field()
    company_type: string;

    @Field()
    commercial_type: string;

    @Field()
    tax_no: string;

    @Field()
    public_name: string;

    @Field()
    company_tag: string;

    @Field({ defaultValue: 'TR' })
    default_lang_type: string;

    @Field({ defaultValue: 'TL' })
    default_money_type: string;

    @Field({ defaultValue: false })
    is_commercial?: boolean;

    @Field({ defaultValue: false })
    is_blacklist?: boolean;

    @Field()
    parent_id?: string;

    @Field()
    workplace_no?: string;

    @Field()
    official_address?: string;

    @Field()
    top_responsible_company?: string;

}
