2020-09-17 16:10:21 +02:00
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace zero.Core.Entities
|
|
|
|
|
{
|
2020-09-18 01:06:21 +02:00
|
|
|
public class Ref<T> : Ref where T : IZeroIdEntity
|
|
|
|
|
{
|
|
|
|
|
public Ref() : base() { }
|
|
|
|
|
public Ref(string id) : base(id) { }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class Ref
|
2020-09-17 16:10:21 +02:00
|
|
|
{
|
|
|
|
|
public Ref() { }
|
|
|
|
|
|
|
|
|
|
public Ref(string id)
|
|
|
|
|
{
|
|
|
|
|
Id = id;
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-18 01:06:21 +02:00
|
|
|
public string Id { get; set; }
|
2020-09-17 16:10:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
|
|
|
|
return Id;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|