package com.cmobile.unifiedtms.entity; import com.haulmont.chile.core.annotations.NamePattern; import com.haulmont.cuba.core.entity.BaseUuidEntity; import com.haulmont.cuba.core.entity.Creatable; import com.haulmont.cuba.core.global.DesignSupport; import javax.persistence.*; import java.util.Date; import java.util.UUID; @DesignSupport("{'dbView':true,'imported':true,'generateDdl':false}") @NamePattern("%s|terminalId") @Table(name = "tms_v_terminal_diagnostic_info") @Entity(name = "tms_DiagnosticInfoReport") public class DiagnosticInfoReport extends BaseUuidEntity implements Creatable { private static final long serialVersionUID = 3273694768616434323L; @Temporal(TemporalType.TIMESTAMP) @Column(name = "create_ts") protected Date createTs; @Column(name = "created_by", length = 50) protected String createdBy; @Column(name = "available_flash_memory") protected Long availableFlashMemory; @Column(name = "available_memory") protected Long availableMemory; @Column(name = "battery_percentage") protected Integer batteryPercentage; @Column(name = "battery_temp") protected Double batteryTemp; @Column(name = "charge_times") protected Integer chargeTimes; @Column(name = "current_boot_time") protected Integer currentBootTime; @Column(name = "dip_inserting_times") protected Integer dipInsertingTimes; @Column(name = "front_camera_open_times") protected Integer frontCameraOpenTimes; @Column(name = "latitude") protected Double latitude; @Column(name = "longitude") protected Double longitude; @Column(name = "meid", length = 20) protected String meid; @Column(name = "nfc_card_reading_times") protected Integer nfcCardReadingTimes; @Column(name = "rear_camera_open_times") protected Integer rearCameraOpenTimes; @Column(name = "swiping_card_times") protected Integer swipingCardTimes; @Column(name = "switching_times") protected Integer switchingTimes; @Column(name = "TERMINAL_EXT_ID") protected UUID terminalExtId; @Column(name = "tid") protected String tid; @Column(name = "terminal_sn", length = 30) protected String terminalSn; @Column(name = "total_boot_time") protected Integer totalBootTime; @Column(name = "total_flash_memory") protected Long totalFlashMemory; @Column(name = "total_length_printed") protected Double totalLengthPrinted; @Column(name = "total_memory") protected Long totalMemory; @Column(name = "total_mobile_data") protected Long totalMobileData; @Column(name = "sam_available") protected Boolean samAvailable; @Column(name = "android_os_version") protected String androidOSVersion; @Column(name = "android_kernel_version") protected String androidKernelVersion; @Column(name = "rom_version") protected String romVersion; @Column(name = "firmware_version") protected String firmwareVersion; @Column(name = "hardware_version") protected String hardwareVersion; @Column(name = "sp_version") protected String spVersion; @Column(name = "vf_service_version") protected String vfServiceVersion; @Column(name = "vrk_sn") protected String vrkSn; @Column(name = "installed_apps") protected String installedApps; @Column(name = "cell_infos") protected String cellInfos; @Override public Date getCreateTs() { return createTs; } @Override public void setCreateTs(Date createTs) { this.createTs = createTs; } @Override public String getCreatedBy() { return createdBy; } @Override public void setCreatedBy(String createdBy) { this.createdBy = createdBy; } public Long getAvailableFlashMemory() { return availableFlashMemory; } public void setAvailableFlashMemory(Long availableFlashMemory) { this.availableFlashMemory = availableFlashMemory; } public Long getAvailableMemory() { return availableMemory; } public void setAvailableMemory(Long availableMemory) { this.availableMemory = availableMemory; } public Integer getBatteryPercentage() { return batteryPercentage; } public void setBatteryPercentage(Integer batteryPercentage) { this.batteryPercentage = batteryPercentage; } public Double getBatteryTemp() { return batteryTemp; } public void setBatteryTemp(Double batteryTemp) { this.batteryTemp = batteryTemp; } public Integer getChargeTimes() { return chargeTimes; } public void setChargeTimes(Integer chargeTimes) { this.chargeTimes = chargeTimes; } public Integer getCurrentBootTime() { return currentBootTime; } public void setCurrentBootTime(Integer currentBootTime) { this.currentBootTime = currentBootTime; } public Integer getDipInsertingTimes() { return dipInsertingTimes; } public void setDipInsertingTimes(Integer dipInsertingTimes) { this.dipInsertingTimes = dipInsertingTimes; } public Integer getFrontCameraOpenTimes() { return frontCameraOpenTimes; } public void setFrontCameraOpenTimes(Integer frontCameraOpenTimes) { this.frontCameraOpenTimes = frontCameraOpenTimes; } public Double getLatitude() { return latitude; } public void setLatitude(Double latitude) { this.latitude = latitude; } public Double getLongitude() { return longitude; } public void setLongitude(Double longitude) { this.longitude = longitude; } public String getMeid() { return meid; } public void setMeid(String meid) { this.meid = meid; } public Integer getNfcCardReadingTimes() { return nfcCardReadingTimes; } public void setNfcCardReadingTimes(Integer nfcCardReadingTimes) { this.nfcCardReadingTimes = nfcCardReadingTimes; } public Integer getRearCameraOpenTimes() { return rearCameraOpenTimes; } public void setRearCameraOpenTimes(Integer rearCameraOpenTimes) { this.rearCameraOpenTimes = rearCameraOpenTimes; } public Integer getSwipingCardTimes() { return swipingCardTimes; } public void setSwipingCardTimes(Integer swipingCardTimes) { this.swipingCardTimes = swipingCardTimes; } public Integer getSwitchingTimes() { return switchingTimes; } public void setSwitchingTimes(Integer switchingTimes) { this.switchingTimes = switchingTimes; } public String getTid() { return tid; } public void setTid(String tid) { this.tid = tid; } public UUID getTerminalExtId() { return terminalExtId; } public void setTerminalExtId(UUID terminalExtId) { this.terminalExtId = terminalExtId; } public String getTerminalSn() { return terminalSn; } public void setTerminalSn(String terminalSn) { this.terminalSn = terminalSn; } public Integer getTotalBootTime() { return totalBootTime; } public void setTotalBootTime(Integer totalBootTime) { this.totalBootTime = totalBootTime; } public Long getTotalFlashMemory() { return totalFlashMemory; } public void setTotalFlashMemory(Long totalFlashMemory) { this.totalFlashMemory = totalFlashMemory; } public Double getTotalLengthPrinted() { return totalLengthPrinted; } public void setTotalLengthPrinted(Double totalLengthPrinted) { this.totalLengthPrinted = totalLengthPrinted; } public Long getTotalMemory() { return totalMemory; } public void setTotalMemory(Long totalMemory) { this.totalMemory = totalMemory; } public Long getTotalMobileData() { return totalMobileData; } public void setTotalMobileData(Long totalMobileData) { this.totalMobileData = totalMobileData; } public Boolean getSamAvailable() { return samAvailable; } public void setSamAvailable(Boolean samAvailable) { this.samAvailable = samAvailable; } public String getAndroidOSVersion() { return androidOSVersion; } public void setAndroidOSVersion(String androidOSVersion) { this.androidOSVersion = androidOSVersion; } public String getAndroidKernelVersion() { return androidKernelVersion; } public void setAndroidKernelVersion(String androidKernelVersion) { this.androidKernelVersion = androidKernelVersion; } public String getRomVersion() { return romVersion; } public void setRomVersion(String romVersion) { this.romVersion = romVersion; } public String getFirmwareVersion() { return firmwareVersion; } public void setFirmwareVersion(String firmwareVersion) { this.firmwareVersion = firmwareVersion; } public String getHardwareVersion() { return hardwareVersion; } public void setHardwareVersion(String hardwareVersion) { this.hardwareVersion = hardwareVersion; } public String getSpVersion() { return spVersion; } public void setSpVersion(String spVersion) { this.spVersion = spVersion; } public String getVfServiceVersion() { return vfServiceVersion; } public void setVfServiceVersion(String vfServiceVersion) { this.vfServiceVersion = vfServiceVersion; } public String getVrkSn() { return vrkSn; } public void setVrkSn(String vrkSn) { this.vrkSn = vrkSn; } public String getInstalledApps() { return installedApps; } public void setInstalledApps(String installedApps) { this.installedApps = installedApps; } public String getCellInfos() { return cellInfos; } public void setCellInfos(String cellInfos) { this.cellInfos = cellInfos; } }