init
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using Kreta.Core.ConnectionType;
|
||||
using Kreta.Enums;
|
||||
|
||||
namespace Kreta.BusinessLogic.Logic.Naplozas.Validacio
|
||||
{
|
||||
public class NaploValidacioParameters
|
||||
{
|
||||
private NaploValidacioParameters() { }
|
||||
|
||||
public NaploValidacioParameters(DateTime date, IConnectionType connectionType, SzerepkorTipusEnum? felhasznaloSzerepkor) : this(date.ToLocalTime(), date.ToLocalTime().AddDays(1), connectionType, felhasznaloSzerepkor) { }
|
||||
|
||||
public NaploValidacioParameters(DateTime from, DateTime to, IConnectionType connectionType, SzerepkorTipusEnum? felhasznaloSzerepkor)
|
||||
{
|
||||
From = from;
|
||||
To = to;
|
||||
ConnectionType = connectionType;
|
||||
FelhasznaloSzerepkor = felhasznaloSzerepkor;
|
||||
}
|
||||
|
||||
public DateTime From { get; private set; }
|
||||
|
||||
public DateTime To { get; private set; }
|
||||
|
||||
public IConnectionType ConnectionType { get; private set; }
|
||||
|
||||
public SzerepkorTipusEnum? FelhasznaloSzerepkor { get; private set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user