using zero.Core.Attributes;
namespace zero.Core.Entities
{
public class Country : ZeroEntity, ICountry
{
///
public bool IsPreferred { get; set; }
///
public string Code { get; set; }
}
[Collection("Countries")]
public interface ICountry : IZeroEntity, IZeroDbConventions
{
///
/// Preferred countries are displayed on top in lists
///
bool IsPreferred { get; set; }
///
/// Country code (ISO 3166-1)
///
string Code { get; set; }
}
}