|
|
@@ -1,67 +1,226 @@
|
|
|
package com.uas.platform.b2b.mobile.model;
|
|
|
|
|
|
+import java.io.Serializable;
|
|
|
import java.util.Date;
|
|
|
|
|
|
-public class VisitRecord {
|
|
|
+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;
|
|
|
|
|
|
- private String vr_detail;
|
|
|
- private String visitman;
|
|
|
- private Long id;
|
|
|
- private Date vr_visitend;
|
|
|
- private String address;
|
|
|
- private String vr_nichename;
|
|
|
+import org.hibernate.validator.constraints.Length;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 拜访记录表
|
|
|
+ *
|
|
|
+ * @author hejq
|
|
|
+ * @time 创建时间:2017年3月27日
|
|
|
+ */
|
|
|
+@Entity
|
|
|
+@Table(name = "mobile$visitrecord")
|
|
|
+public class VisitRecord implements Serializable {
|
|
|
+
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ */
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * id
|
|
|
+ */
|
|
|
+ @Id
|
|
|
+ @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "mobile$visitRecord_gen")
|
|
|
+ @SequenceGenerator(name = "mobile$visitRecord_gen", sequenceName = "mobile$visitRecord_seq", allocationSize = 1)
|
|
|
+ @Column(name = "vr_id")
|
|
|
+ private Long vr_id;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 拜访类别
|
|
|
+ */
|
|
|
+ @Column(name = "vr_class")
|
|
|
+ private String vr_class;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 编号
|
|
|
+ */
|
|
|
+ @Column(name = "vr_code")
|
|
|
+ private String code;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 录入日期
|
|
|
+ */
|
|
|
+ @Column(name = "vr_date")
|
|
|
+ private Date vr_date;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 开始时间
|
|
|
+ */
|
|
|
+ @Column(name = "vr_startdate")
|
|
|
+ private Date vr_startdate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 结束时间
|
|
|
+ */
|
|
|
+ @Column(name = "vr_enddate")
|
|
|
+ private Date vr_enddate;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 录入人uu
|
|
|
+ */
|
|
|
+ @Column(name = "vr_emuu")
|
|
|
+ private Long emuu;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 录入人姓名
|
|
|
+ */
|
|
|
+ @Column(name = "vr_emname")
|
|
|
+ private String vr_emname;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 企业uu
|
|
|
+ */
|
|
|
+ @Column(name = "vr_enuu")
|
|
|
+ private Long enuu;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 状态
|
|
|
+ */
|
|
|
+ @Column(name = "vr_status")
|
|
|
+ private String status;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 状态码
|
|
|
+ */
|
|
|
+ @Column(name = "vr_statuscode")
|
|
|
+ private String statuscode;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 拜访类型
|
|
|
+ */
|
|
|
+ @Column(name = "vr_title")
|
|
|
private String vr_title;
|
|
|
- private Date vr_visittime;
|
|
|
- private String var_nichestep;
|
|
|
- private String var_vr_cucontact;
|
|
|
- private String custname;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 拜访内容
|
|
|
+ */
|
|
|
+ @Column(name = "vr_detail")
|
|
|
+ @Length(max = 2000)
|
|
|
+ private String vr_detail;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 客户编号
|
|
|
+ */
|
|
|
+ @Column(name = "vr_cucode")
|
|
|
+ private String vr_cucode;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 客户姓名
|
|
|
+ */
|
|
|
+ @Column(name = "vr_cuname")
|
|
|
+ private String vr_cuname;
|
|
|
|
|
|
- public String getVr_detail() {
|
|
|
- return vr_detail;
|
|
|
+ /**
|
|
|
+ * 客户地址
|
|
|
+ */
|
|
|
+ @Column(name = "vr_cuaddress")
|
|
|
+ @Length(max = 500)
|
|
|
+ private String vr_cuaddress;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 客户联系人
|
|
|
+ */
|
|
|
+ @Column(name = "vr_cucontact")
|
|
|
+ private String vr_cucontact;
|
|
|
+
|
|
|
+ public Long getVr_id() {
|
|
|
+ return vr_id;
|
|
|
}
|
|
|
|
|
|
- public void setVr_detail(String vr_detail) {
|
|
|
- this.vr_detail = vr_detail;
|
|
|
+ public void setVr_id(Long vr_id) {
|
|
|
+ this.vr_id = vr_id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getVr_class() {
|
|
|
+ return vr_class;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setVr_class(String vr_class) {
|
|
|
+ this.vr_class = vr_class;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCode() {
|
|
|
+ return code;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCode(String code) {
|
|
|
+ this.code = code;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getVr_date() {
|
|
|
+ return vr_date;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setVr_date(Date vr_date) {
|
|
|
+ this.vr_date = vr_date;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getVr_startdate() {
|
|
|
+ return vr_startdate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setVr_startdate(Date vr_startdate) {
|
|
|
+ this.vr_startdate = vr_startdate;
|
|
|
}
|
|
|
|
|
|
- public String getVisitman() {
|
|
|
- return visitman;
|
|
|
+ public Date getVr_enddate() {
|
|
|
+ return vr_enddate;
|
|
|
}
|
|
|
|
|
|
- public void setVisitman(String visitman) {
|
|
|
- this.visitman = visitman;
|
|
|
+ public void setVr_enddate(Date vr_enddate) {
|
|
|
+ this.vr_enddate = vr_enddate;
|
|
|
}
|
|
|
|
|
|
- public Long getId() {
|
|
|
- return id;
|
|
|
+ public Long getEmuu() {
|
|
|
+ return emuu;
|
|
|
}
|
|
|
|
|
|
- public void setId(Long id) {
|
|
|
- this.id = id;
|
|
|
+ public void setEmuu(Long emuu) {
|
|
|
+ this.emuu = emuu;
|
|
|
}
|
|
|
|
|
|
- public Date getVr_visitend() {
|
|
|
- return vr_visitend;
|
|
|
+ public String getVr_emname() {
|
|
|
+ return vr_emname;
|
|
|
}
|
|
|
|
|
|
- public void setVr_visitend(Date vr_visitend) {
|
|
|
- this.vr_visitend = vr_visitend;
|
|
|
+ public void setVr_emname(String vr_emname) {
|
|
|
+ this.vr_emname = vr_emname;
|
|
|
}
|
|
|
|
|
|
- public String getAddress() {
|
|
|
- return address;
|
|
|
+ public Long getEnuu() {
|
|
|
+ return enuu;
|
|
|
}
|
|
|
|
|
|
- public void setAddress(String address) {
|
|
|
- this.address = address;
|
|
|
+ public void setEnuu(Long enuu) {
|
|
|
+ this.enuu = enuu;
|
|
|
}
|
|
|
|
|
|
- public String getVr_nichename() {
|
|
|
- return vr_nichename;
|
|
|
+ public String getStatus() {
|
|
|
+ return status;
|
|
|
}
|
|
|
|
|
|
- public void setVr_nichename(String vr_nichename) {
|
|
|
- this.vr_nichename = vr_nichename;
|
|
|
+ public void setStatus(String status) {
|
|
|
+ this.status = status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getStatuscode() {
|
|
|
+ return statuscode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStatuscode(String statuscode) {
|
|
|
+ this.statuscode = statuscode;
|
|
|
}
|
|
|
|
|
|
public String getVr_title() {
|
|
|
@@ -72,36 +231,44 @@ public class VisitRecord {
|
|
|
this.vr_title = vr_title;
|
|
|
}
|
|
|
|
|
|
- public Date getVr_visittime() {
|
|
|
- return vr_visittime;
|
|
|
+ public String getVr_detail() {
|
|
|
+ return vr_detail;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setVr_detail(String vr_detail) {
|
|
|
+ this.vr_detail = vr_detail;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getVr_cucode() {
|
|
|
+ return vr_cucode;
|
|
|
}
|
|
|
|
|
|
- public void setVr_visittime(Date vr_visittime) {
|
|
|
- this.vr_visittime = vr_visittime;
|
|
|
+ public void setVr_cucode(String vr_cucode) {
|
|
|
+ this.vr_cucode = vr_cucode;
|
|
|
}
|
|
|
|
|
|
- public String getVar_nichestep() {
|
|
|
- return var_nichestep;
|
|
|
+ public String getVr_cuname() {
|
|
|
+ return vr_cuname;
|
|
|
}
|
|
|
|
|
|
- public void setVar_nichestep(String var_nichestep) {
|
|
|
- this.var_nichestep = var_nichestep;
|
|
|
+ public void setVr_cuname(String vr_cuname) {
|
|
|
+ this.vr_cuname = vr_cuname;
|
|
|
}
|
|
|
|
|
|
- public String getVar_vr_cucontact() {
|
|
|
- return var_vr_cucontact;
|
|
|
+ public String getVr_cuaddress() {
|
|
|
+ return vr_cuaddress;
|
|
|
}
|
|
|
|
|
|
- public void setVar_vr_cucontact(String var_vr_cucontact) {
|
|
|
- this.var_vr_cucontact = var_vr_cucontact;
|
|
|
+ public void setVr_cuaddress(String vr_cuaddress) {
|
|
|
+ this.vr_cuaddress = vr_cuaddress;
|
|
|
}
|
|
|
|
|
|
- public String getCustname() {
|
|
|
- return custname;
|
|
|
+ public String getVr_cucontact() {
|
|
|
+ return vr_cucontact;
|
|
|
}
|
|
|
|
|
|
- public void setCustname(String custname) {
|
|
|
- this.custname = custname;
|
|
|
+ public void setVr_cucontact(String vr_cucontact) {
|
|
|
+ this.vr_cucontact = vr_cucontact;
|
|
|
}
|
|
|
|
|
|
}
|