增加同步时间
This commit is contained in:
27
src/WMS.Web.Domain/Entitys/ErpOpsSyncDate.cs
Normal file
27
src/WMS.Web.Domain/Entitys/ErpOpsSyncDate.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user