using DomainObjects.Abstractions;
using Core.Abstractions.Models;
using DomainObjects.Abstractions;
using WeatherForecast.Models.Abstractions.PostItem.Responses;

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);
    }
  }
}
