Doctypepop.java 1.7 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
package com.farm.doc.server.plus.domain;

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

import org.hibernate.annotations.GenericGenerator;

@Entity(name = "DocTypePop")
@Table(name = "farm_doctype_pop")
public class Doctypepop implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	@Id
	@GenericGenerator(name = "systemUUID", strategy = "uuid")
	@GeneratedValue(generator = "systemUUID")
	@Column(name = "ID", length = 32, insertable = true, updatable = true, nullable = false)
	private String id;
	@Column(name = "TYPEID", length = 32, nullable = false)
	private String typeid;
	@Column(name = "ONAME", length = 64, nullable = false)
	private String oname;
	@Column(name = "POPTYPE", length = 1, nullable = false)
	private String poptype;
	@Column(name = "FUNTYPE", length = 1, nullable = false)
	private String funtype;
	@Column(name = "OID", length = 32, nullable = false)
	private String oid;

	public String getTypeid() {
		return this.typeid;
	}

	public void setTypeid(String typeid) {
		this.typeid = typeid;
	}

	public String getOname() {
		return this.oname;
	}

	public void setOname(String oname) {
		this.oname = oname;
	}

	public String getId() {
		return this.id;
	}

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

	public String getPoptype() {
		return this.poptype;
	}

	public void setPoptype(String poptype) {
		this.poptype = poptype;
	}

	public String getFuntype() {
		return this.funtype;
	}

	public void setFuntype(String funtype) {
		this.funtype = funtype;
	}

	public String getOid() {
		return this.oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}
}