view пока только project и home

This commit is contained in:
2025-06-03 19:15:05 +04:00
parent 4c6c517c88
commit 73cce2d1f4
26 changed files with 528 additions and 395 deletions

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -20,7 +21,8 @@ namespace SoftwareContracts.ViewModels
public string Description { get; set; } = string.Empty;
[DisplayName("Дата создания")]
public DateTime CreatedDate { get; set; }=DateTime.Now;
[DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]
public DateTime CreatedDate { get; set; }
[DisplayName("Статус")]
public ProjectStatus ProjectStatus { get; set; } = ProjectStatus.InDevelopment;
public int UserId { get; set; }