main
|
Last change
on this file since 595d2e5 was d89d25b, checked in by mmilevski <markomilevski3@…>, 4 weeks ago |
|
Added few implementaions, minor UI changes.
|
-
Property mode
set to
100644
|
|
File size:
486 bytes
|
| Line | |
|---|
| 1 | using System.ComponentModel.DataAnnotations;
|
|---|
| 2 |
|
|---|
| 3 | namespace KernelRecordsMVC.Application.ViewModels;
|
|---|
| 4 |
|
|---|
| 5 | public class EditArtistViewModel
|
|---|
| 6 | {
|
|---|
| 7 | public long ArtistId { get; set; }
|
|---|
| 8 |
|
|---|
| 9 | [Required]
|
|---|
| 10 | [StringLength(200)]
|
|---|
| 11 | [Display(Name = "Artist Name")]
|
|---|
| 12 | public string ArtistName { get; set; } = string.Empty;
|
|---|
| 13 |
|
|---|
| 14 | [Display(Name = "Description")]
|
|---|
| 15 | public string? ArtistDescription { get; set; }
|
|---|
| 16 |
|
|---|
| 17 | [Display(Name = "Artist Photo URL")]
|
|---|
| 18 | public string? ArtistPhoto { get; set; }
|
|---|
| 19 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.