using MongoDB.Entities; namespace Ds.WMS.MogonDb.entity { public class ErrorLogDto : Entity { public int StatusCode { get; set; } public string ErrorMessage { get; set; } public string StackTrace { get; set; } // 添加其他需要的属性... public DateTime TimeStamp { get; set; } = DateTime.UtcNow; } }