34 lines
898 B
C#
34 lines
898 B
C#
using AyCode.Interfaces.Profiles;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AyCode.Entities.Profiles
|
|
{
|
|
[Table("Profile")]
|
|
public abstract class AcProfile : IAcProfile
|
|
{
|
|
protected AcProfile() { }
|
|
|
|
protected AcProfile(Guid ownerId) : this()
|
|
{
|
|
OwnerId = ownerId;
|
|
}
|
|
|
|
[Key, DatabaseGenerated(DatabaseGeneratedOption.None)]
|
|
public Guid Id { get; set; }
|
|
public Guid OwnerId { get; set; }
|
|
public Guid? UserMediaId { get; set; }
|
|
|
|
public string? Name { get; set; }
|
|
|
|
public string? ThumbnailUrl { get ; set; }
|
|
public DateTime Created { get; set; }
|
|
public DateTime Modified { get; set; }
|
|
}
|
|
}
|