增加同步时间

This commit is contained in:
18942506660
2023-11-10 15:15:17 +08:00
parent 2546646533
commit 61c052d1f7
15 changed files with 350 additions and 81 deletions

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using WMS.Web.Domain.Values;
namespace WMS.Web.Domain.Entitys
{
/// <summary>
/// erp同步时间管理 记录最新一次重金蝶和ops拉取数据时间
/// 系统部署时第一次需要预埋数据
/// 定时任务最新一次时间管理
/// </summary>
[Serializable]
[Table("t_wms_sync_date")]
public class ErpOpsSyncDate
{
/// <summary>
/// 同步类型
/// </summary>
public ErpOpsSyncType Type { get; set; } = ErpOpsSyncType.Ops;
/// <summary>
/// 最新一次同步时间
/// </summary>
public DateTime SyncTime { get; set; } = DateTime.Now;
}
}