1d2720ffaa
This reverts commit 787886bab2.
18 lines
403 B
C#
18 lines
403 B
C#
namespace zero.Core.Entities
|
|
{
|
|
public class MediaRef : Ref
|
|
{
|
|
public bool IsCore { get; set; }
|
|
|
|
public MediaRef() : base() { }
|
|
public MediaRef(string id, bool isCore) : base(id)
|
|
{
|
|
IsCore = isCore;
|
|
}
|
|
|
|
public static implicit operator string(MediaRef reference) => reference.Id;
|
|
|
|
public static implicit operator MediaRef(string id) => new MediaRef(id, false);
|
|
}
|
|
}
|