package com.dacrt.SBIABackend.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

@Entity
@Table(name = "channels",schema = "main")
public class Channels {
	
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	
	@NotNull
	private String name;
	
	@NotNull
	private int status;
	
	private String dsc;
	
	private int channeltypepar;
	
	private int customerqty;
	
	private int capacity;
	
	private int capacityperiod;
	
	private String serviceoffers;
	
	private BigDecimal amountop;
	
	private BigDecimal volumeop;
	
	@NotNull
	private Date createdat;
	
	@NotNull
	private Date modifiedat;
	
	public Channels() {
	}

	public Channels(Integer id, @NotNull String name, @NotNull int status, String dsc, int channeltypepar,
			int customerqty, int capacity, int capacityperiod, String serviceoffers, BigDecimal amountop,
			BigDecimal volumeop, @NotNull Date createdat, @NotNull Date modifiedat) {
		super();
		this.id = id;
		this.name = name;
		this.status = status;
		this.dsc = dsc;
		this.channeltypepar = channeltypepar;
		this.customerqty = customerqty;
		this.capacity = capacity;
		this.capacityperiod = capacityperiod;
		this.serviceoffers = serviceoffers;
		this.amountop = amountop;
		this.volumeop = volumeop;
		this.createdat = createdat;
		this.modifiedat = modifiedat;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getDsc() {
		return dsc;
	}

	public void setDsc(String dsc) {
		this.dsc = dsc;
	}

	public int getChanneltypepar() {
		return channeltypepar;
	}

	public void setChanneltypepar(int channeltypepar) {
		this.channeltypepar = channeltypepar;
	}

	public int getCustomerqty() {
		return customerqty;
	}

	public void setCustomerqty(int customerqty) {
		this.customerqty = customerqty;
	}

	public int getCapacity() {
		return capacity;
	}

	public void setCapacity(int capacity) {
		this.capacity = capacity;
	}

	public int getCapacityperiod() {
		return capacityperiod;
	}

	public void setCapacityperiod(int capacityperiod) {
		this.capacityperiod = capacityperiod;
	}

	public String getServiceoffers() {
		return serviceoffers;
	}

	public void setServiceoffers(String serviceoffers) {
		this.serviceoffers = serviceoffers;
	}

	public BigDecimal getAmountop() {
		return amountop;
	}

	public void setAmountop(BigDecimal amountop) {
		this.amountop = amountop;
	}

	public BigDecimal getVolumeop() {
		return volumeop;
	}

	public void setVolumeop(BigDecimal volumeop) {
		this.volumeop = volumeop;
	}

	public Date getCreatedat() {
		return createdat;
	}

	public void setCreatedat(Date createdat) {
		this.createdat = createdat;
	}

	public Date getModifiedat() {
		return modifiedat;
	}

	public void setModifiedat(Date modifiedat) {
		this.modifiedat = modifiedat;
	}

}
