feat(dal): создана таблица GroupDistributionConfigs
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
using PARR.Constants;
|
||||
using PARR.DAL.Context;
|
||||
using PARR.DAL.Models.Base;
|
||||
using PARR.DAL.Models.Job;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
@@ -8,7 +10,7 @@ namespace PARR.DAL.Models
|
||||
/// <summary>
|
||||
/// Период автоматического распеделения РР
|
||||
/// </summary>
|
||||
[Table("DistributionPeriods")]
|
||||
[Table("DistributionPeriods", Schema = DataContextSettings.Schedule)]
|
||||
public class DistributionPeriod : IBase
|
||||
{
|
||||
[Key]
|
||||
@@ -58,7 +60,9 @@ namespace PARR.DAL.Models
|
||||
[ForeignKey(nameof(Type))]
|
||||
public DistributionPeriodType? DistributionPeriodType { get; set; }
|
||||
|
||||
public ICollection<EsppSchTypeValue> EsppSchTypeValues { get; set; } = new HashSet<EsppSchTypeValue>();
|
||||
public ICollection<JobGroupDistributionConfig> GroupDistributionConfig { get; set; } = new HashSet<JobGroupDistributionConfig>();
|
||||
|
||||
//public ICollection<EsppSchTypeValue> EsppSchTypeValues { get; set; } = new HashSet<EsppSchTypeValue>();
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user