Customer.java

package com.jtc.p1;

public class Customer {
    private int cid;
    private String cname;
    private String email;
    private Long phone;
    private String city;
    private long bal;
   
    public Customer() {
       
    }
    public Customer( String cname ,String email ,Long phone ,String city ,long bal) {
        this.cname=cname;
        this.email=email;
        this.phone=phone;
        this.city=city;
        this.bal=bal;
       
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Long getPhone() {
        return phone;
    }

    public void setPhone(Long phone) {
        this.phone = phone;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public long getBal() {
        return bal;
    }

    public void setBal(long bal) {
        this.bal = bal;
    }
   
   

}

Comments

Popular posts from this blog

HTML& CSS USERNAME AND PASSWORD PAGE CODING

spring core exp

Swapping without using 3rd variable in c and c++ and any language use logic