
export interface VoteProps {
    id: number,
    title: string,
    description: string,
    image: string,
    date: string,
    open: string,
    status: number
    voted: string

}


export interface VoteOptionProps {
    id: number,
    voteId: number,
    description: string,
    date: string,
    status: string,
    votes: number
}


export interface VoteInput {
    title: string,
    description: string,
    image: string
}


export interface UpdateVoteInput {
    title: string,
    description: string,
    image: string,
    voteId: number,
    status: string,
    open: string
}


export interface VoteOptionInput {
    voteId: number,
    description: string
}

export interface UpdateVoteOptionInput {
    optionId: number,
    description: string,
    status: string
}


