feat(dal): добавлены таблицы JobAutoControls, JobAutoCOntrolInEkStatuses, JobEkMasks. Сервисы.
This commit is contained in:
25
PARR.DAL/Models/JobEkMask.cs
Normal file
25
PARR.DAL/Models/JobEkMask.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using PARR.DAL.Models.Base;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace PARR.DAL.Models
|
||||
{
|
||||
[Table("JobEkMasks")]
|
||||
public class JobEkMask : IBase
|
||||
{
|
||||
[Key]
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public DateTimeOffset DateCreated { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public DateTimeOffset? DateModified { get; set; }
|
||||
|
||||
public required string Name { get; set; }
|
||||
|
||||
public Guid JobAutoControlId { get; set; }
|
||||
|
||||
[ForeignKey(nameof(JobAutoControlId))]
|
||||
public JobAutoControl? JobAutoControl { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user