Updated project
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user