init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.Naplo.Domain.V3.OsztalyCsoport;
|
||||
|
||||
namespace Kreta.Naplo.Dto.V3.OsztalyCsoport
|
||||
{
|
||||
public class BejelentettSzamonkeresekRequestDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Osztály/csoport id
|
||||
/// </summary>
|
||||
[Required]
|
||||
public int OsztalyCsoportId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Dátum
|
||||
/// </summary>
|
||||
[Required]
|
||||
public DateTime Datum { get; set; }
|
||||
|
||||
public static implicit operator BejelentettSzamonkeresekRequest(BejelentettSzamonkeresekRequestDto dto) => new BejelentettSzamonkeresekRequest
|
||||
{
|
||||
OsztalyCsoportId = dto.OsztalyCsoportId,
|
||||
Datum = dto.Datum.ToLocalTime()
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue