Files
WMS-Api/src/WMS.Web.Domain/Entitys/ErpOpsSyncDate.cs
18942506660 bddd26993f 修复bug
2023-11-10 16:23:27 +08:00

34 lines
962 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using WMS.Web.Core;
using WMS.Web.Domain.Values;
namespace WMS.Web.Domain.Entitys
{
/// <summary>
/// erp同步时间管理 记录最新一次重金蝶和ops拉取数据时间
/// 系统部署时第一次需要预埋数据
/// 定时任务最新一次时间管理
/// </summary>
[Serializable]
[Table("t_wms_sync_date")]
public class ErpOpsSyncDate : EntityBase
{
/// <summary>
/// 主键 订单编号
/// </summary>
[Column("Id")]
public override int Id { get; set; }
/// <summary>
/// 同步类型
/// </summary>
public ErpOpsSyncType Type { get; set; } = ErpOpsSyncType.Ops;
/// <summary>
/// 最新一次同步时间
/// </summary>
public DateTime SyncTime { get; set; } = DateTime.Now;
}
}