Customer.java


Dosyayı İndir
package com.godoro.atom.entity;

import com.godoro.atom.library.*;
import javax.persistence.*;

@Entity
public class Customer extends EntityBase {
  
  @Id @GeneratedValue(strategy = GenerationType.IDENTITY)
  private long customerId;
  private String customerName;
  private double totalDebit;

  public Customer(long customerId, String customerName, double totalDebit) {
    this.customerId = customerId;
    this.customerName = customerName;
    this.totalDebit = totalDebit;
  }

  public Customer() {
  }

  
  public long getCustomerId() {
    return customerId;
  }

  public void setCustomerId(long customerId) {
    this.customerId = customerId;
  }

  public String getCustomerName() {
    return customerName;
  }

  public void setCustomerName(String customerName) {
    this.customerName = customerName;
  }

  public double getTotalDebit() {
    return totalDebit;
  }

  public void setTotalDebit(double totalDebit) {
    this.totalDebit = totalDebit;
  }
    
  
}


				
Dosyayı İndir

Bu Sayfayı Paylaş:




Bu Sayfayı Paylaş:

İletişim Bilgileri

Takip Et

Her Hakkı Saklıdır. Bu sitede yayınlanan tüm bilgi ve fikirlerin kullanımından fibiler.com sorumlu değildir. Bu sitede üretilmiş , derlenmiş içerikleri, fibiler.com'u kaynak göstermek koşuluyla kendi sitenizde kullanılabilirsiniz. Ancak telif hakkı olan içeriklerin hakları sahiplerine aittir