package com.uas.platform.b2b.model;

import java.io.Serializable;
import java.util.Date;

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

@Table(name = "b2b$codeset")
@Entity
public class B2bCodeSet implements Serializable{
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键ID
	 */
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "bc_id")
	private Long id;
	
	@Column(name = "bc_lenprid")
	private Long lenprid;
	
	@Column(name = "bc_lenveid")
	private Long lenveid;
	
	@Column(name = "bc_datestr")
	private String datestr;
	
	@Column(name = "bc_lennum")
	private Long lennum;
	
	@Column(name = "bc_split")
	private String split;
	
	@Column(name = "bc_combine")
	private String combine;
	
	@Column(name = "bc_code")
	private String code;
	
	@Column(name = "bc_name")
	private String name;
	
	@Column(name = "bc_statuscode")
	private String statuscode;
	
	@Column(name = "bc_type")
	private String type;
	
	@Column(name = "bc_ifcommon")
	private String ifcommon;
	
	@Column(name = "bc_maxnum")
	private Long maxnum;
	
	@Column(name = "bc_totallen")
	private Long totallen;
	
	@Column(name = "bc_date")
	private Date date;
	
	@Column(name = "bc_recorder")
	private String recorder;
	
	@Column(name = "bc_maxdate")
	private String maxdate;
	
	@Column(name = "bc_prtypepreix")
	private String prtypepreix;
	
	@Column(name = "bc_fromerp", nullable = false)
	private String fromerp;
	
	@Column(name = "bc_fromplat")
	private String fromplat;
	
	/**
	 * 所属企业UU
	 */
	@Column(name = "bc_enuu")
	private Long enUU;

	public Long getId() {
		return id;
	}

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

	public Long getLenprid() {
		return lenprid;
	}

	public void setLenprid(Long lenprid) {
		this.lenprid = lenprid;
	}

	public String getDatestr() {
		return datestr;
	}

	public void setDatestr(String datestr) {
		this.datestr = datestr;
	}

	public Long getLennum() {
		return lennum;
	}

	public void setLennum(Long lennum) {
		this.lennum = lennum;
	}

	public String getSplit() {
		return split;
	}

	public void setSplit(String split) {
		this.split = split;
	}

	public String getCombine() {
		return combine;
	}

	public void setCombine(String combine) {
		this.combine = combine;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

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

	public String getStatuscode() {
		return statuscode;
	}

	public void setStatuscode(String statuscode) {
		this.statuscode = statuscode;
	}

	public String getIfcommon() {
		return ifcommon;
	}

	public void setIfcommon(String ifcommon) {
		this.ifcommon = ifcommon;
	}

	public Long getMaxnum() {
		return maxnum;
	}

	public void setMaxnum(Long maxnum) {
		this.maxnum = maxnum;
	}

	public Long getTotallen() {
		return totallen;
	}

	public void setTotallen(Long totallen) {
		this.totallen = totallen;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getRecorder() {
		return recorder;
	}

	public void setRecorder(String recorder) {
		this.recorder = recorder;
	}

	public String getMaxdate() {
		return maxdate;
	}

	public void setMaxdate(String maxdate) {
		this.maxdate = maxdate;
	}

	public String getPrtypepreix() {
		return prtypepreix;
	}

	public void setPrtypepreix(String prtypepreix) {
		this.prtypepreix = prtypepreix;
	}

	public String getFromerp() {
		return fromerp;
	}

	public void setFromerp(String fromerp) {
		this.fromerp = fromerp;
	}

	public String getFromplat() {
		return fromplat;
	}

	public void setFromplat(String fromplat) {
		this.fromplat = fromplat;
	}
	
	public Long getLenveid() {
		return lenveid;
	}

	public void setLenveid(Long lenveid) {
		this.lenveid = lenveid;
	}

	public Long getEnUU() {
		return enUU;
	}

	public void setEnUU(Long enUU) {
		this.enUU = enUU;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	
}
