diff --git a/Bedelia/Dtos/UserLoginDto.cs b/Bedelia/Dtos/UserLoginDto.cs new file mode 100644 index 0000000000000000000000000000000000000000..5edcb5e3660b5d4a0cbca1c3f39ded03adadfbdf --- /dev/null +++ b/Bedelia/Dtos/UserLoginDto.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using System.Linq; +using System.Threading.Tasks; + +namespace Bedelia.Dtos +{ + public class UserLoginDto + { + [Required] + public string IdentityCard { get; set; } + + [Required] + public string Password { get; set; } + } +} diff --git a/Tsi1.Api/Tsi1.BusinessLayer/Dtos/BedeliaLoginDto.cs b/Tsi1.Api/Tsi1.BusinessLayer/Dtos/BedeliaLoginDto.cs new file mode 100644 index 0000000000000000000000000000000000000000..e8afcf11d0abc99d915f7e4e72dbe54fa1a5f57c --- /dev/null +++ b/Tsi1.Api/Tsi1.BusinessLayer/Dtos/BedeliaLoginDto.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Tsi1.BusinessLayer.Dtos +{ + public class BedeliaLoginDto + { + public string IdentityCard { get; set; } + public string Password { get; set; } + } +} diff --git a/Tsi1.Api/Tsi1.BusinessLayer/Dtos/TenantCreateDto.cs b/Tsi1.Api/Tsi1.BusinessLayer/Dtos/TenantCreateDto.cs index 4fe735d0f71327aec5ed917a8a323762bcf40fa8..8e7c4cfc476fb603a78d2aafacfa01646a99f9f4 100644 --- a/Tsi1.Api/Tsi1.BusinessLayer/Dtos/TenantCreateDto.cs +++ b/Tsi1.Api/Tsi1.BusinessLayer/Dtos/TenantCreateDto.cs @@ -8,5 +8,6 @@ namespace Tsi1.BusinessLayer.Dtos { public string Name { get; set; } public string Theme { get; set; } + public bool IsLoginBedelia { get; set; } } } diff --git a/Tsi1.Api/Tsi1.BusinessLayer/Dtos/TenantDetailDto.cs b/Tsi1.Api/Tsi1.BusinessLayer/Dtos/TenantDetailDto.cs index f8327cde61e9727e32cbb86d9a77029feaa0f6e6..c3f75b30a3515bb69eea3cb96f9c724b7353f70c 100644 --- a/Tsi1.Api/Tsi1.BusinessLayer/Dtos/TenantDetailDto.cs +++ b/Tsi1.Api/Tsi1.BusinessLayer/Dtos/TenantDetailDto.cs @@ -9,5 +9,7 @@ namespace Tsi1.BusinessLayer.Dtos public int Id { get; set; } public string Name { get; set; } public string Theme { get; set; } + + public bool IsLoginBedelia { get; set; } } } diff --git a/Tsi1.Api/Tsi1.BusinessLayer/Dtos/TenantPreviewDto.cs b/Tsi1.Api/Tsi1.BusinessLayer/Dtos/TenantPreviewDto.cs index 30267ec33d195a151290455f6f9fd6982a650ec2..1659844e65a387612a7f87265c525022e9f0027b 100644 --- a/Tsi1.Api/Tsi1.BusinessLayer/Dtos/TenantPreviewDto.cs +++ b/Tsi1.Api/Tsi1.BusinessLayer/Dtos/TenantPreviewDto.cs @@ -9,5 +9,6 @@ namespace Tsi1.BusinessLayer.Dtos public int Id { get; set; } public string Name { get; set; } public string Theme { get; set; } + public bool IsLoginBedelia { get; set; } } }