1
0
This repository has been archived on 2026-04-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
my-old-website/MyWebsite/MyWebsite/Models/ResumeModel.cs
T
Michael Gordeev ad8b23f727 Updated project
2020-03-03 16:49:41 +03:00

23 lines
515 B
C#

using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MyWebsite.Models
{
public class ResumeModel
{
[Key]
[Required]
[Column(TypeName = "varchar(10)")]
[DisplayName("Language")]
public string Language { get; set; }
[Required]
[Column(TypeName = "text")]
[DisplayName("Content")]
public string Content { get; set; }
[DisplayName("Last chagnge")]
public DateTime LastUpdate { get; set; }
}
}