Bank Queue Management System

Asked

Viewed 1,526 times

1

Hello folks I need a help I am learning to program now, I am developing a password system for waiting queue type JAVA database database.

Password Normal; Password Priority;

Call in Password Reclaim Password

Display (Form for Password)

Follow my class Password

package Modelo;


public class Senha {

private int senha;
private Boolean chamada;
private DateTime inicioAtendimento;
private  Boolean prioritaria;


    public int getSenha() {
        return senha;
    }


    public void setSenha(int senha) {
        this.senha = senha;
    }


    public Boolean getChamada() {
        return chamada;
    }

    public void setChamada(Boolean chamada) {
        this.chamada = chamada;
    }


    public DateTime getInicioAtendimento() {
        return inicioAtendimento;
    }


    public void setInicioAtendimento(DateTime inicioAtendimento) {
        this.inicioAtendimento = inicioAtendimento;
    }


    public Boolean getPrioritaria() {
        return prioritaria;
    }


    public void setPrioritaria(Boolean prioritaria) {
        this.prioritaria = prioritaria;
    }
    }

Class Generate Password

My Button Call Password

private void btChamarActionPerformed(java.awt.event.ActionEvent evt) {                                         
        // TODO add your handling code here:

            senha  novo = new senha();
            novo.GeraSenha();
            label1.Text = "Atendimento Prioritário";
            label2.Text =" Senha: " +novo.GeraSenha();
        }

My doubt is whether I am walking well and what are the classes I should use for this purpose

I’d appreciate the help I’m doing this project for University.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.