model and Dto
This commit is contained in:
16
Common/Dtos/Group/ADD_GroupDto.cs
Normal file
16
Common/Dtos/Group/ADD_GroupDto.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Common.Dtos.Group
|
||||
{
|
||||
public class ADD_GroupDto
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public byte[]? img { get; set; }
|
||||
public string? Info { get; set; }
|
||||
public bool Available { get; set; } = true;
|
||||
}
|
||||
}
|
18
Common/Dtos/Group/Read_GroupDto.cs
Normal file
18
Common/Dtos/Group/Read_GroupDto.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Common.Dtos.Group
|
||||
{
|
||||
public class Read_GroupDto
|
||||
{
|
||||
public int ID { get; set; }
|
||||
public string Name { get; set; }
|
||||
public byte[]? img { get; set; }
|
||||
public string? Info { get; set; }
|
||||
public bool Available { get; set; }
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user