|
@ -0,0 +1,253 @@
|
|
|
|
package com.yihu.wlyy.entity.device;
|
|
|
|
|
|
|
|
import com.yihu.wlyy.entity.IdEntity;
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
import javax.persistence.Table;
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by zd on 2018/01/10.
|
|
|
|
*/
|
|
|
|
@Entity
|
|
|
|
@Table(name = "wlyy_devices")
|
|
|
|
public class DeviceDetail extends IdEntity{
|
|
|
|
private String deviceName;
|
|
|
|
private String deviceModel;
|
|
|
|
private String deviceCode;
|
|
|
|
private String manufacturer;
|
|
|
|
private String applyDate;;
|
|
|
|
private String orgName;
|
|
|
|
private String linkman;
|
|
|
|
private String tel;
|
|
|
|
private String serverIp;
|
|
|
|
private String manufacturerCode;
|
|
|
|
private String address;
|
|
|
|
private String representative;
|
|
|
|
private String applicantName;
|
|
|
|
private String applicantIdentity;
|
|
|
|
private String applicantTel;
|
|
|
|
private String applicantMail;
|
|
|
|
private Integer isGrant;
|
|
|
|
private String grantAdminTeam;
|
|
|
|
private String grantHospital;
|
|
|
|
private String bindingCount;
|
|
|
|
private Date grantTime;
|
|
|
|
|
|
|
|
|
|
|
|
/** default constructor */
|
|
|
|
public DeviceDetail() {
|
|
|
|
}
|
|
|
|
|
|
|
|
/** full constructor */
|
|
|
|
public DeviceDetail(String deviceName, String deviceModel, String deviceCode, String manufacturer, String applyDate
|
|
|
|
, String orgName, String linkman, String tel, String serverIp, String manufacturerCode, String address
|
|
|
|
, String representative, String applicantName, String applicantIdentity, String applicantTel, String applicantMail) {
|
|
|
|
this.deviceName = deviceName;
|
|
|
|
this.deviceModel = deviceModel;
|
|
|
|
this.deviceCode = deviceCode;
|
|
|
|
this.manufacturer = manufacturer;
|
|
|
|
this.applyDate = applyDate;
|
|
|
|
this.orgName = orgName;
|
|
|
|
this.linkman = linkman;
|
|
|
|
this.tel = tel;
|
|
|
|
this.serverIp = serverIp;
|
|
|
|
this.manufacturerCode = manufacturerCode;
|
|
|
|
this.address = address;
|
|
|
|
this.representative = representative;
|
|
|
|
this.applicantName = applicantName;
|
|
|
|
this.applicantIdentity = applicantIdentity;
|
|
|
|
this.applicantTel = applicantTel;
|
|
|
|
this.applicantMail = applicantMail;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "device_name")
|
|
|
|
public String getDeviceName() {
|
|
|
|
return deviceName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDeviceName(String deviceName) {
|
|
|
|
this.deviceName = deviceName;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "device_model")
|
|
|
|
public String getDeviceModel() {
|
|
|
|
return deviceModel;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDeviceModel(String deviceModel) {
|
|
|
|
this.deviceModel = deviceModel;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "device_code")
|
|
|
|
public String getDeviceCode() {
|
|
|
|
return deviceCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setDeviceCode(String deviceCode) {
|
|
|
|
this.deviceCode = deviceCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "manufacturer")
|
|
|
|
public String getManufacturer() {
|
|
|
|
return manufacturer;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setManufacturer(String manufacturer) {
|
|
|
|
this.manufacturer = manufacturer;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "apply_date")
|
|
|
|
public String getApplyDate() {
|
|
|
|
return applyDate;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setApplyDate(String applyDate) {
|
|
|
|
this.applyDate = applyDate;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "org_name")
|
|
|
|
public String getOrgName() {
|
|
|
|
return orgName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setOrgName(String orgName) {
|
|
|
|
this.orgName = orgName;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "linkman")
|
|
|
|
public String getLinkman() {
|
|
|
|
return linkman;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setLinkman(String linkman) {
|
|
|
|
this.linkman = linkman;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "tel")
|
|
|
|
public String getTel() {
|
|
|
|
return tel;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setTel(String tel) {
|
|
|
|
this.tel = tel;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "server_ip")
|
|
|
|
public String getServerIp() {
|
|
|
|
return serverIp;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setServerIp(String serverIp) {
|
|
|
|
this.serverIp = serverIp;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "manufacturerCode")
|
|
|
|
public String getManufacturerCode() {
|
|
|
|
return manufacturerCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setManufacturerCode(String manufacturerCode) {
|
|
|
|
this.manufacturerCode = manufacturerCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "address")
|
|
|
|
public String getAddress() {
|
|
|
|
return address;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setAddress(String address) {
|
|
|
|
this.address = address;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "representative")
|
|
|
|
public String getRepresentative() {
|
|
|
|
return representative;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setRepresentative(String representative) {
|
|
|
|
this.representative = representative;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "applicant_name")
|
|
|
|
public String getApplicantName() {
|
|
|
|
return applicantName;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setApplicantName(String applicantName) {
|
|
|
|
this.applicantName = applicantName;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "applicant_identity")
|
|
|
|
public String getApplicantIdentity() {
|
|
|
|
return applicantIdentity;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setApplicantIdentity(String applicantIdentity) {
|
|
|
|
this.applicantIdentity = applicantIdentity;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "applicant_tel")
|
|
|
|
public String getApplicantTel() {
|
|
|
|
return applicantTel;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setApplicantTel(String applicantTel) {
|
|
|
|
this.applicantTel = applicantTel;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "applicant_mail")
|
|
|
|
public String getApplicantMail() {
|
|
|
|
return applicantMail;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setApplicantMail(String applicantMail) {
|
|
|
|
this.applicantMail = applicantMail;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "is_grant")
|
|
|
|
public Integer getIsGrant() {
|
|
|
|
return isGrant;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setIsGrant(Integer isGrant) {
|
|
|
|
this.isGrant = isGrant;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "grant_admin_team")
|
|
|
|
public String getGrantAdminTeam() {
|
|
|
|
return grantAdminTeam;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setGrantAdminTeam(String grantAdminTeam) {
|
|
|
|
this.grantAdminTeam = grantAdminTeam;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "grant_hospital")
|
|
|
|
public String getGrantHospital() {
|
|
|
|
return grantHospital;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setGrantHospital(String grantHospital) {
|
|
|
|
this.grantHospital = grantHospital;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "binding_count")
|
|
|
|
public String getBindingCount() {
|
|
|
|
return bindingCount;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setBindingCount(String bindingCount) {
|
|
|
|
this.bindingCount = bindingCount;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Column(name = "grant_time")
|
|
|
|
public Date getGrantTime() {
|
|
|
|
return grantTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void setGrantTime(Date grantTime) {
|
|
|
|
this.grantTime = grantTime;
|
|
|
|
}
|
|
|
|
}
|