Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions EventsModel/Common/Examination.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,19 @@ public class Examination
/// </summary>
public string EventType { get; set; }

/// <summary>
/// Gets or sets the result of the examination.
/// </summary>
public string Result { get; set; }

/// <summary>
/// Flag of the of the examination.
/// </summary>
public byte? Flag { get; set; } = default;

/// <summary>
/// Gets or sets the identifier for the test.
/// </summary>
public int? TestId { get; set; } = default;

}
30 changes: 30 additions & 0 deletions EventsModel/SampleTracking/SampleShipment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,34 @@ public class SampleShipment : BaseMessage
/// </summary>
public IEnumerable<Sample> Samples { get; set; }

/// <summary>
/// Identifier of the courier responsible for the shipment
///
public int? CourierId { get; set; }

/// <summary>
/// Identifier of the carrier responsible for the shipment
/// </summary>
public int? CarrierId { get; set; }

/// <summary>
/// Employee of the carrier responsible for the shipment
/// </summary>
public string CarrierEmployee { get; set; }

/// <summary>
/// Reference to the document that initiated the shipment.
/// </summary>
public string DocumentRef { get; set; }

/// <summary>
/// Indicates whether the shipment is a draft
/// </summary>
public bool IsDraft { get; set; } = true;

/// <summary>
/// Indicates whether the shipment is completed
/// </summary>
public bool IsCompleted { get; set; } = false;

}
6 changes: 6 additions & 0 deletions EventsModel/Visits/Sale.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Skyware.Lis.EventsModel.Common;
using System;
using System.Collections.Generic;

namespace Skyware.Lis.EventsModel.Visits;
Expand All @@ -17,6 +18,11 @@ public class Sale : BaseMessage
/// </summary>
public int SaleId { get; set; }

/// <summary>
/// Gets or sets the date created of the sale.
/// </summary>
public DateTime Created { get; set; } = DateTime.Now;

/// <summary>
/// Type of the event.
/// </summary>
Expand Down