20 lines
565 B
C#
20 lines
565 B
C#
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
|
|
};
|
|
}
|
|
}
|