Optimized the contact related msater APIs
This commit is contained in:
parent
886d0bb3b1
commit
bad784e147
@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
public class CreateContactCategoryDto
|
public class CreateContactCategoryDto
|
||||||
{
|
{
|
||||||
public string? Name { get; set; }
|
public required string Name { get; set; }
|
||||||
public string? Description { get; set; }
|
public required string Description { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
public class CreateContactTagDto
|
public class CreateContactTagDto
|
||||||
{
|
{
|
||||||
public string? Name { get; set; }
|
public required string Name { get; set; }
|
||||||
public string? Description { get; set; }
|
public required string Description { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
{
|
{
|
||||||
public class UpdateContactCategoryDto
|
public class UpdateContactCategoryDto
|
||||||
{
|
{
|
||||||
public Guid Id { get; set; }
|
public required Guid Id { get; set; }
|
||||||
public string? Name { get; set; }
|
public required string Name { get; set; }
|
||||||
public string? Description { get; set; }
|
public required string Description { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
public class UpdateContactTagDto
|
public class UpdateContactTagDto
|
||||||
{
|
{
|
||||||
public Guid Id { get; set; }
|
public Guid Id { get; set; }
|
||||||
public string? Name { get; set; }
|
public required string Name { get; set; }
|
||||||
public string? Description { get; set; }
|
public required string Description { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -379,6 +379,27 @@ namespace Marco.Pms.Services.MappingProfiles
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region ======================================================= Contact Category Master =======================================================
|
||||||
|
CreateMap<CreateContactCategoryDto, ContactCategoryMaster>();
|
||||||
|
CreateMap<UpdateContactCategoryDto, ContactCategoryMaster>();
|
||||||
|
CreateMap<ContactCategoryMaster, ContactCategoryVM>();
|
||||||
|
#endregion
|
||||||
|
#region ======================================================= Contact Tag Master =======================================================
|
||||||
|
CreateMap<CreateContactTagDto, ContactTagMaster>();
|
||||||
|
CreateMap<UpdateContactTagDto, ContactTagMaster>();
|
||||||
|
CreateMap<ContactTagMaster, ContactTagVM>();
|
||||||
|
#endregion
|
||||||
|
#region ======================================================= Expenses Status Master =======================================================
|
||||||
|
#endregion
|
||||||
|
#region ======================================================= Expenses Status Master =======================================================
|
||||||
|
#endregion
|
||||||
|
#region ======================================================= Expenses Status Master =======================================================
|
||||||
|
#endregion
|
||||||
|
#region ======================================================= Expenses Status Master =======================================================
|
||||||
|
#endregion
|
||||||
|
#region ======================================================= Expenses Status Master =======================================================
|
||||||
|
#endregion
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region ======================================================= Document =======================================================
|
#region ======================================================= Document =======================================================
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user