增加工单模块
This commit is contained in:
1 parent
dc136e449e
commit
f9dcae4610
17 files changed
+4908
No files matched your search
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace OrderSupportTicket.Models;
|
||||
|
||||
/// <summary>
|
||||
/// 工单列表本地缓存,仅用于比较服务器列表是否有新数据。
|
||||
/// </summary>
|
||||
public sealed class WorkOrderListCache
|
||||
{
|
||||
/// <summary>
|
||||
/// 缓存对应的登录账号。
|
||||
/// </summary>
|
||||
public string UserName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用于判断新消息的订单时间缓存项。
|
||||
/// </summary>
|
||||
public List<WorkOrderListCacheItem> Items { get; set; } =
|
||||
new List<WorkOrderListCacheItem>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 单个订单的新消息比较信息。
|
||||
/// </summary>
|
||||
public sealed class WorkOrderListCacheItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 微信订单号。
|
||||
/// </summary>
|
||||
public string OrderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后一条公开消息时间,用于判断是否有任意新消息。
|
||||
/// </summary>
|
||||
public DateTimeOffset LastMessageAt { get; set; }
|
||||
}
|
||||
Reference in new issue
Block a user