Add project
This commit is contained in:
7
Common/Dtos/Subject/CreateSubjectRequest.cs
Normal file
7
Common/Dtos/Subject/CreateSubjectRequest.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Common.Dtos.Subject;
|
||||
|
||||
public class CreateSubjectRequest
|
||||
{
|
||||
public string? Name { get; set; }
|
||||
public string? ShortName { get; set; }
|
||||
}
|
||||
12
Common/Dtos/Subject/CreateSubjectResponse.cs
Normal file
12
Common/Dtos/Subject/CreateSubjectResponse.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using Common.Dtos.Common;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Common.Dtos.Subject
|
||||
{
|
||||
public class CreateSubjectResponse : BaseResponse
|
||||
{
|
||||
public string? CreateSubjectResult { get; set; }
|
||||
}
|
||||
}
|
||||
8
Common/Dtos/Subject/GetSubjectsRequest.cs
Normal file
8
Common/Dtos/Subject/GetSubjectsRequest.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
using Common.Dtos.Common;
|
||||
|
||||
namespace Common.Dtos.Subject;
|
||||
|
||||
public class GetSubjectsRequest : PagedRequest
|
||||
{
|
||||
public string? Name { get; set; }
|
||||
}
|
||||
12
Common/Dtos/Subject/SubjectDto.cs
Normal file
12
Common/Dtos/Subject/SubjectDto.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Common.Dtos.Subject;
|
||||
|
||||
public class SubjectDto
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public string? ShortName { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user