main
|
Last change
on this file was 08aefc6, checked in by mmilevski <markomilevski3@…>, 4 weeks ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
297 bytes
|
| Line | |
|---|
| 1 | using System.ComponentModel.DataAnnotations;
|
|---|
| 2 |
|
|---|
| 3 | namespace KernelRecordsMVC.Application.ViewModels;
|
|---|
| 4 |
|
|---|
| 5 | public class LoginViewModel
|
|---|
| 6 | {
|
|---|
| 7 | [Required]
|
|---|
| 8 | public string Username { get; set; } = null!;
|
|---|
| 9 |
|
|---|
| 10 | [Required]
|
|---|
| 11 | [DataType(DataType.Password)]
|
|---|
| 12 | public string Password { get; set; } = null!;
|
|---|
| 13 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.