Advertisement
Guest User

Untitled

a guest
Apr 8th, 2020
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.69 KB | None | 0 0
  1. using Core.Infrastructure.Domain.Commands;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Security.Claims;
  5. using System.Text;
  6.  
  7. namespace Core.Modules.Production.Contracts.Commands
  8. {
  9.     public class AddDowntimeReportingCommand : ICommand
  10.     {
  11.         public AddDowntimeReportingCommand(
  12.             DateTime? endDate,
  13.             int reasonId,
  14.             int downtimeStatusId,
  15.             DateTime? reportStart,
  16.             DateTime? reportEnd,
  17.             string comment,
  18.             bool effectOnLine,
  19.             int? positionId,
  20.             int? machineId,
  21.             int? assemblyId,
  22.             int? partId,
  23.             int formule3pId)
  24.         {
  25.             EndDate = endDate;
  26.             ReasonId = reasonId;
  27.             DowntimeStatusId = downtimeStatusId;
  28.             ReportStart = reportStart;
  29.             ReportEnd = reportEnd;
  30.             Comment = comment;
  31.             EffectOnLine = effectOnLine;
  32.             PositionId = positionId;
  33.             MachineId = machineId;
  34.             AssemblyId = assemblyId;
  35.             PartId = partId;
  36.             Formule3pId = formule3pId;
  37.         }
  38.  
  39.         public DateTime? EndDate { get; }
  40.         public int ReasonId { get; }
  41.         public int DowntimeStatusId { get; }
  42.         public DateTime? ReportStart { get; }
  43.         public DateTime? ReportEnd { get; }
  44.         public string Comment { get; }
  45.         public bool EffectOnLine { get; }
  46.         public int? PositionId { get; }
  47.  
  48.         public int? MachineId { get; }
  49.  
  50.         public int? AssemblyId { get; }
  51.  
  52.         public int? PartId { get; }
  53.         public int Formule3pId { get; }
  54.         public ClaimsPrincipal RequestUserInfo { get; set; }
  55.     }
  56. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement