feat(dms): 添加 machineName 字段,用于前端展示,@TableId注解主键

master
zch 5 days ago
parent f0ca26efcd
commit 6c78189261

@ -24,6 +24,7 @@ public class DmsBaseDeviceFiles extends TenantEntity {
/** /**
* *
*/ */
@TableId(value = "device_files_id", type = IdType.AUTO)
private Long deviceFilesId; private Long deviceFilesId;
/** /**
@ -56,5 +57,11 @@ public class DmsBaseDeviceFiles extends TenantEntity {
*/ */
private String remark; private String remark;
/**
*
*/
@TableField(exist = false)
private String machineName;//JOIN
} }

@ -71,5 +71,10 @@ public class DmsBaseDeviceFilesVo implements Serializable {
@ExcelProperty(value = "备注") @ExcelProperty(value = "备注")
private String remark; private String remark;
/**
*
*/
private String machineName;//JOIN
} }

Loading…
Cancel
Save