package com.flightfeather.uav.domain.entity; import javax.persistence.*; @Table(name = "device_info") public class DeviceInfo { @Id @Column(name = "device_code") private String deviceCode; @Column(name = "device_type") private String deviceType; @Column(name = "type_name") private String typeName; /** * @return device_code */ public String getDeviceCode() { return deviceCode; } /** * @param deviceCode */ public void setDeviceCode(String deviceCode) { this.deviceCode = deviceCode == null ? null : deviceCode.trim(); } /** * @return device_type */ public String getDeviceType() { return deviceType; } /** * @param deviceType */ public void setDeviceType(String deviceType) { this.deviceType = deviceType == null ? null : deviceType.trim(); } /** * @return type_name */ public String getTypeName() { return typeName; } /** * @param typeName */ public void setTypeName(String typeName) { this.typeName = typeName == null ? null : typeName.trim(); } }