package com.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

@Entity
public class Seller {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private int sellerId;
	@Column(length=100)
	private String sellerName;
	@Column(length=100)
	private String sellerEmail;
	@Column(length=100)
	private String sellerPassword;
	@Column(length=100)
	private String sellerBtype;
	@Column(length=100)
	private String sellerInds;
	@Column(length=100)
	private String sellerAd;
	@Column(length=100)
	private String sellerAline;
	@Column(length=12)
	private String sellerPhone;
	@Column(length=15)
	private String sellerPincode;
	@Column(length=100)
	private String sellerCity;
	@Column(length=100)
	private String sellerState;
	@Column(length=100)
	private String sellerCountry;
	
	
	public Seller(int sellerId, String sellerName, String sellerEmail, String sellerPassword, String sellerBtype,
			String sellerInds, String sellerAd, String sellerAline, String sellerPhone, String sellerPincode,
			String sellerCity, String sellerState, String sellerCountry) {
		super();
		this.sellerId = sellerId;
		this.sellerName = sellerName;
		this.sellerEmail = sellerEmail;
		this.sellerPassword = sellerPassword;
		this.sellerBtype = sellerBtype;
		this.sellerInds = sellerInds;
		this.sellerAd = sellerAd;
		this.sellerAline = sellerAline;
		this.sellerPhone = sellerPhone;
		this.sellerPincode = sellerPincode;
		this.sellerCity = sellerCity;
		this.sellerState = sellerState;
		this.sellerCountry = sellerCountry;
	}


	public Seller(String sellerName, String sellerEmail, String sellerPassword, String sellerBtype, String sellerInds,
			String sellerAd, String sellerAline, String sellerPhone, String sellerPincode, String sellerCity,
			String sellerState, String sellerCountry) {
		super();
		this.sellerName = sellerName;
		this.sellerEmail = sellerEmail;
		this.sellerPassword = sellerPassword;
		this.sellerBtype = sellerBtype;
		this.sellerInds = sellerInds;
		this.sellerAd = sellerAd;
		this.sellerAline = sellerAline;
		this.sellerPhone = sellerPhone;
		this.sellerPincode = sellerPincode;
		this.sellerCity = sellerCity;
		this.sellerState = sellerState;
		this.sellerCountry = sellerCountry;
	}


	public Seller() {
		super();
	}


	public int getSellerId() {
		return sellerId;
	}


	public void setSellerId(int sellerId) {
		this.sellerId = sellerId;
	}


	public String getSellerName() {
		return sellerName;
	}


	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}


	public String getSellerEmail() {
		return sellerEmail;
	}


	public void setSellerEmail(String sellerEmail) {
		this.sellerEmail = sellerEmail;
	}


	public String getSellerPassword() {
		return sellerPassword;
	}


	public void setSellerPassword(String sellerPassword) {
		this.sellerPassword = sellerPassword;
	}


	public String getSellerBtype() {
		return sellerBtype;
	}


	public void setSellerBtype(String sellerBtype) {
		this.sellerBtype = sellerBtype;
	}


	public String getSellerInds() {
		return sellerInds;
	}


	public void setSellerInds(String sellerInds) {
		this.sellerInds = sellerInds;
	}


	public String getSellerAd() {
		return sellerAd;
	}


	public void setSellerAd(String sellerAd) {
		this.sellerAd = sellerAd;
	}


	public String getSellerAline() {
		return sellerAline;
	}


	public void setSellerAline(String sellerAline) {
		this.sellerAline = sellerAline;
	}


	public String getSellerPhone() {
		return sellerPhone;
	}


	public void setSellerPhone(String sellerPhone) {
		this.sellerPhone = sellerPhone;
	}


	public String getSellerPincode() {
		return sellerPincode;
	}


	public void setSellerPincode(String sellerPincode) {
		this.sellerPincode = sellerPincode;
	}


	public String getSellerCity() {
		return sellerCity;
	}


	public void setSellerCity(String sellerCity) {
		this.sellerCity = sellerCity;
	}


	public String getSellerState() {
		return sellerState;
	}


	public void setSellerState(String sellerState) {
		this.sellerState = sellerState;
	}


	public String getSellerCountry() {
		return sellerCountry;
	}


	public void setSellerCountry(String sellerCountry) {
		this.sellerCountry = sellerCountry;
	}


	@Override
	public String toString() {
		return "Seller [sellerId=" + sellerId + ", sellerName=" + sellerName + ", sellerEmail=" + sellerEmail
				+ ", sellerPassword=" + sellerPassword + ", sellerBtype=" + sellerBtype + ", sellerInds=" + sellerInds
				+ ", sellerAd=" + sellerAd + ", sellerAline=" + sellerAline + ", sellerPhone=" + sellerPhone
				+ ", sellerPincode=" + sellerPincode + ", sellerCity=" + sellerCity + ", sellerState=" + sellerState
				+ ", sellerCountry=" + sellerCountry + "]";
	}
	
	
	
	
	
	
	

}
