From 9d1660270272180cd71147d6ddd53d1382643d2e Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 18:00:14 +0800
Subject: [PATCH] merge: 并入远程 Initial commit 作为历史根节点
---
Plugin.DeviceConfig/Entity/DeviceConfigVersion.cs | 62 +++++++++++++++++++++++++++++++
1 files changed, 62 insertions(+), 0 deletions(-)
diff --git a/Plugin.DeviceConfig/Entity/DeviceConfigVersion.cs b/Plugin.DeviceConfig/Entity/DeviceConfigVersion.cs
new file mode 100644
index 0000000..48cd3ba
--- /dev/null
+++ b/Plugin.DeviceConfig/Entity/DeviceConfigVersion.cs
@@ -0,0 +1,62 @@
+using System;
+using CommunityToolkit.Mvvm.ComponentModel;
+
+namespace Plugin.DeviceConfig.Entity
+{
+ /// <summary>
+ /// 閰嶇疆鐗堟湰鐘舵�佹灇涓�
+ /// </summary>
+ public enum VersionStatus
+ {
+ Draft,
+ Published,
+ Effective
+ }
+
+ /// <summary>
+ /// 閰嶇疆鐗堟湰瀹炰綋
+ /// </summary>
+ public partial class DeviceConfigVersion : ObservableObject
+ {
+ /// <summary>
+ /// 鏃犲弬鏋勯�犲嚱鏁帮紙鐢ㄤ簬鏁版嵁缁戝畾锛�
+ /// </summary>
+ public DeviceConfigVersion() { }
+
+ /// <summary>
+ /// 鐗堟湰鍞竴鏍囪瘑锛堜富閿級
+ /// </summary>
+ [ObservableProperty]
+ private string versionId = string.Empty;
+
+ /// <summary>
+ /// 鐗堟湰鐘舵��: Draft / Published / Effective
+ /// </summary>
+ [ObservableProperty]
+ private VersionStatus status;
+
+ /// <summary>
+ /// 閰嶇疆鍝堝笇锛圫HA256锛�
+ /// </summary>
+ [ObservableProperty]
+ private string hash = string.Empty;
+
+ /// <summary>
+ /// 浣滆��
+ /// </summary>
+ [ObservableProperty]
+ private string author = string.Empty;
+
+ /// <summary>
+ /// 鏃堕棿鎴�
+ /// </summary>
+ [ObservableProperty]
+ private DateTime timestamp = DateTime.Now;
+
+ /// <summary>
+ /// 宸紓鎻忚堪
+ /// </summary>
+ [ObservableProperty]
+ private string diffDescription = string.Empty;
+ }
+}
--
Gitblit v1.9.1