21 lines
367 B
C#
21 lines
367 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace Simulator.DataObjects
|
|||
|
{
|
|||
|
public interface IBaseDataObject
|
|||
|
{
|
|||
|
string Id { get; set; }
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
public class BaseDataObject : IBaseDataObject
|
|||
|
{
|
|||
|
public BaseDataObject() { Id = Guid.NewGuid().ToString(); }
|
|||
|
|
|||
|
public string Id { get ; set ; }
|
|||
|
}
|
|||
|
}
|