mirror of
https://github.com/niushuai233/DevControl.git
synced 2024-10-27 22:43:20 +08:00
fix: 调整日志保留天数展示内容
This commit is contained in:
parent
0b815f783a
commit
b3823d01a4
@ -0,0 +1,48 @@
|
|||||||
|
package cc.niushuai.project.devcontrol.db.entity;
|
||||||
|
|
||||||
|
import org.greenrobot.greendao.annotation.Entity;
|
||||||
|
import org.greenrobot.greendao.annotation.Id;
|
||||||
|
import org.greenrobot.greendao.annotation.Index;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备日志
|
||||||
|
*
|
||||||
|
* @author niushuai233
|
||||||
|
* @date 2022/10/26 11:56
|
||||||
|
*/
|
||||||
|
//@Entity(nameInDb = "tb_dc_device_log")
|
||||||
|
public class DeviceLog implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1175396508635274219L;
|
||||||
|
|
||||||
|
@Id
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备id
|
||||||
|
*/
|
||||||
|
@Index
|
||||||
|
private Long deviceId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* key
|
||||||
|
*/
|
||||||
|
private String typeKey;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* key
|
||||||
|
*/
|
||||||
|
private String typeName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 内容
|
||||||
|
*/
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
private String createTime;
|
||||||
|
}
|
@ -134,8 +134,8 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/setup_log_keep_day_display"
|
android:id="@+id/setup_log_keep_day_display"
|
||||||
style="@style/SetupExt"
|
style="@style/SetupExt"
|
||||||
android:text="7"
|
android:layout_marginRight="10dp"
|
||||||
/>
|
android:text="7" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
@ -52,8 +52,8 @@
|
|||||||
<item name="android:layout_width">128dp</item>
|
<item name="android:layout_width">128dp</item>
|
||||||
<item name="android:layout_height">match_parent</item>
|
<item name="android:layout_height">match_parent</item>
|
||||||
<item name="android:layout_weight">1</item>
|
<item name="android:layout_weight">1</item>
|
||||||
<item name="android:textSize">12dp</item>
|
<item name="android:textSize">16dp</item>
|
||||||
<item name="android:textColor">@color/gray</item>
|
<item name="android:textColor">@color/gray</item>
|
||||||
<item name="android:gravity">center_vertical</item>
|
<item name="android:gravity">center_vertical|right</item>
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user