init
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.BusinessLogic.Classes.MobileApi.Naplo.V2.Co.Get.Tanulo;
|
||||
|
||||
namespace Kreta.Naplo.Domain.V2.Model.Get.Tanulo
|
||||
{
|
||||
public class ErtekelesGetRequest
|
||||
{
|
||||
[Required]
|
||||
public int TanuloId { get; set; }
|
||||
|
||||
[Required]
|
||||
public int TantargyId { get; set; }
|
||||
|
||||
public static implicit operator ErtekelesGetRequestCo(ErtekelesGetRequest model) => new ErtekelesGetRequestCo
|
||||
{
|
||||
TanuloId = model.TanuloId,
|
||||
TantargyId = model.TantargyId
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user