using Core.Abstractions.DomainObjects;
using Core.Abstractions.Models;
using Core.DomainObjects;

namespace WeatherForecast.Models.Abstractions {

  /// <summary>
  /// 
  /// </summary>
  /// <typeparam name="T"></typeparam>
  public abstract class PersonModelBase<T> : ModelBase {

    /// <summary>
    /// 
    /// </summary>
    public Guid Id { get; set; }
    
    /// <summary>
    /// 
    /// </summary>
    public MediaAttachmentResponseModel? Image { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public PersonModelBase() { }

    /// <summary>
    /// 
    /// </summary>
    /// <param name="person"></param>
    public PersonModelBase(PersonBase<T> person) {
      //if(person.Image != null)
      //  Image = new ImageModel(person.Image);
    }
  }
}
