refactor(ProfileView): move to Views directory
This commit is contained in:
44
src/ReC.Domain/Views/ProfileView.cs
Normal file
44
src/ReC.Domain/Views/ProfileView.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using ReC.Domain.Constants;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace ReC.Domain.Views;
|
||||
|
||||
[Table("VWREC_PROFILE", Schema = "dbo")]
|
||||
public record ProfileView
|
||||
{
|
||||
public long Id { get; init; }
|
||||
|
||||
public bool Active { get; init; }
|
||||
|
||||
public ProfileType TypeId { get; init; }
|
||||
|
||||
public string? Type { get; init; }
|
||||
|
||||
public string? Mandantor { get; init; }
|
||||
|
||||
public string? ProfileName { get; init; }
|
||||
|
||||
public string? Description { get; init; }
|
||||
|
||||
public byte LogLevelId { get; init; }
|
||||
|
||||
public string? LogLevel { get; init; }
|
||||
|
||||
public short LanguageId { get; init; }
|
||||
|
||||
public string? Language { get; init; }
|
||||
|
||||
public string? AddedWho { get; init; }
|
||||
|
||||
public DateTime AddedWhen { get; init; }
|
||||
|
||||
public string? ChangedWho { get; init; }
|
||||
|
||||
public DateTime? ChangedWhen { get; init; }
|
||||
|
||||
public DateTime? FirstRun { get; init; }
|
||||
|
||||
public DateTime? LastRun { get; init; }
|
||||
|
||||
public string? LastResult { get; init; }
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
using ReC.Domain.Entities;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace ReC.Domain.Views;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user