Skip to content
Snippets Groups Projects
Select Git revision
  • a99378495bb855ed9ebc2c685700420d2845527d
  • master default
  • develop
  • feature/modify-course-sections
  • videoConferencePOC
5 results

LoginRequest.cs

Blame
  • LoginRequest.cs 564 B
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.Linq;
    using System.Text.Json.Serialization;
    using System.Threading.Tasks;
    
    namespace Tsi1.Api.Models
    {
        public class LoginRequest
        {
            [Required]
            [JsonPropertyName("username")]
            public string UserName { get; set; }
    
            [Required]
            [JsonPropertyName("password")]
            public string Password { get; set; }
    
            [Required]
            [JsonPropertyName("tenantId")]
            public int TenantId { get; set; }
        }
    }