2026-04-15 09:35:03 +10:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
using PARR.Domain.Entities.Base;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
2026-04-30 10:35:31 +10:00
|
|
|
|
namespace PARR.Domain.Entities.Removed
|
2026-04-15 09:35:03 +10:00
|
|
|
|
{
|
|
|
|
|
|
//[Table("Applications")]
|
|
|
|
|
|
//[Index(nameof(Name), nameof(ApplicationTypeId), IsUnique = true)]
|
|
|
|
|
|
//public class Application : IBaseEntity
|
|
|
|
|
|
//{
|
|
|
|
|
|
// [Key]
|
|
|
|
|
|
// public Guid Id { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
// public DateTimeOffset DateCreated { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
// public DateTimeOffset? DateModified { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
// public required string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
// public Guid ApplicationTypeId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
// [ForeignKey(nameof(ApplicationTypeId))]
|
|
|
|
|
|
// public ApplicationType? ApplicationType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// public ICollection<ApplicationInHost> ApplicationsInHosts { get; set; } = new HashSet<ApplicationInHost>();
|
|
|
|
|
|
|
|
|
|
|
|
// public ICollection<ApplicationsInWork> ApplicationsInWorks { get; set; } = new HashSet<ApplicationsInWork>();
|
|
|
|
|
|
//}
|
|
|
|
|
|
}
|