add: 基础配置国际化开发
This commit is contained in:
@@ -176,6 +176,21 @@ public class Device implements Serializable {
|
|||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private DeviceDriverDefination deviceDriverDefination;
|
private DeviceDriverDefination deviceDriverDefination;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备中文名称
|
||||||
|
*/
|
||||||
|
private String zh_device_name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备英文名称
|
||||||
|
*/
|
||||||
|
private String en_device_name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备印尼名称
|
||||||
|
*/
|
||||||
|
private String in_device_name;
|
||||||
|
|
||||||
public void copyFrom(Device source){
|
public void copyFrom(Device source){
|
||||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -128,4 +128,19 @@ public class DeviceDto implements Serializable {
|
|||||||
* 地址号
|
* 地址号
|
||||||
*/
|
*/
|
||||||
private String address;
|
private String address;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备中文名称
|
||||||
|
*/
|
||||||
|
private String zh_device_name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备英文名称
|
||||||
|
*/
|
||||||
|
private String en_device_name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备印尼名称
|
||||||
|
*/
|
||||||
|
private String in_device_name;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user