package com.opentravelsoft.entity; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import static javax.persistence.GenerationType.IDENTITY; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "tbl_visa_item") public class TblVisaItem implements java.io.Serializable { private Integer visaitemId; private String recNo; /** 签证材料模板ID */ private Integer itemId; /** 辅助说明 */ private String outline; private int num; private String note; /** 排序 */ private Integer sortOrder; private String del; public TblVisaItem() { } public TblVisaItem(String recNo, int num) { this.recNo = recNo; this.num = num; } public TblVisaItem(String recNo, Integer itemId, String outline, int num, String note, Integer sortOrder, String del) { this.recNo = recNo; this.itemId = itemId; this.outline = outline; this.num = num; this.note = note; this.sortOrder = sortOrder; this.del = del; } @Id @GeneratedValue(strategy = IDENTITY) @Column(name = "VISAITEM_ID", unique = true, nullable = false) public Integer getVisaitemId() { return this.visaitemId; } public void setVisaitemId(Integer visaitemId) { this.visaitemId = visaitemId; } @Column(name = "REC_NO", nullable = false, length = 10) public String getRecNo() { return this.recNo; } public void setRecNo(String recNo) { this.recNo = recNo; } @Column(name = "ITEM_ID") public Integer getItemId() { return this.itemId; } public void setItemId(Integer itemId) { this.itemId = itemId; } @Column(name = "OUTLINE", length = 50) public String getOutline() { return this.outline; } public void setOutline(String outline) { this.outline = outline; } @Column(name = "NUM", nullable = false) public int getNum() { return this.num; } public void setNum(int num) { this.num = num; } @Column(name = "NOTE", length = 200) public String getNote() { return this.note; } public void setNote(String note) { this.note = note; } @Column(name = "SORT_ORDER") public Integer getSortOrder() { return this.sortOrder; } public void setSortOrder(Integer sortOrder) { this.sortOrder = sortOrder; } @Column(name = "DEL", length = 1) public String getDel() { return this.del; } public void setDel(String del) { this.del = del; } }