using System.Collections.Generic; using zero.Core.Attributes; namespace zero.Core.Entities { public class Link : ZeroEntity, ILink { /// public string AppId { get; set; } /// public string OriginalId { get; set; } /// public string Collection { get; set; } /// public string Url { get; set; } /// public Dictionary Params { get; set; } = new Dictionary(); } [Collection("Links")] public interface ILink : IZeroEntity, IAppAwareEntity, IZeroDbConventions { /// /// Id of the associated entity /// string OriginalId { get; set; } /// /// Collection of the associated entity /// string Collection { get; set; } /// /// Country code (ISO 3166-1) /// string Url { get; set; } /// /// Optional parameters /// Dictionary Params { get; set; } } }