init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
|
@ -0,0 +1,46 @@
|
|||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Kreta.Naplo.Domain.V3.OsztalyCsoport;
|
||||
using Kreta.Naplo.Dto.V3.Documentation;
|
||||
using Kreta.Naplo.Dto.V3.Interfaces;
|
||||
|
||||
namespace Kreta.Naplo.Dto.V3.OsztalyCsoport
|
||||
{
|
||||
public class OsztalyokCsoportokResponseDto : IDtoListDocumentation
|
||||
{
|
||||
[Required, Description(DescriptionLookUp.OsztalyCsoportId)]
|
||||
public int OsztalyCsoportId { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.OsztalyCsoportNev)]
|
||||
public string OsztalyCsoportNev { get; set; }
|
||||
|
||||
[Required, Description(DescriptionLookUp.IsTanitom)]
|
||||
public bool IsTanitom { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.OsztalyfonokCsoportvezetoUid)]
|
||||
public Guid? OsztalyfonokCsoportvezetoUid { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.OsztalyfonokCsoportvezetoNev)]
|
||||
public string OsztalyfonokCsoportvezetoNev { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.OsztalyfonokHelyettesUid)]
|
||||
public Guid? OsztalyfonokHelyettesUid { get; set; }
|
||||
|
||||
[Description(DescriptionLookUp.OsztalyfonokHelyettesNev)]
|
||||
public string OsztalyfonokHelyettesNev { get; set; }
|
||||
|
||||
public DocumentationExampleDto ListExample => new DocumentationExampleDto("GetOsztalyokCsoportok", null);
|
||||
|
||||
public static implicit operator OsztalyokCsoportokResponseDto(OsztalyokCsoportokResponse model) => new OsztalyokCsoportokResponseDto
|
||||
{
|
||||
OsztalyCsoportId = model.OsztalyCsoportId,
|
||||
OsztalyCsoportNev = model.OsztalyCsoportNev,
|
||||
IsTanitom = model.IsTanitom,
|
||||
OsztalyfonokCsoportvezetoUid = model.OsztalyfonokCsoportvezetoUid,
|
||||
OsztalyfonokCsoportvezetoNev = model.OsztalyfonokCsoportvezetoNev,
|
||||
OsztalyfonokHelyettesUid = model.OsztalyfonokHelyettesUid,
|
||||
OsztalyfonokHelyettesNev = model.OsztalyfonokHelyettesNev
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue