mirror of
https://github.com/yawaflua/yaflay.ru.git
synced 2026-02-05 11:24:13 +02:00
make backend for my site
This commit is contained in:
16
Models/Tables/Projects.cs
Normal file
16
Models/Tables/Projects.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace api.yawaflua.ru.Models.Tables
|
||||
{
|
||||
[Table("Projects")]
|
||||
public class Projects
|
||||
{
|
||||
[Key]
|
||||
public int id { get; set; }
|
||||
public string name { get; set; }
|
||||
public string description { get; set; }
|
||||
public string url { get; set; }
|
||||
public string image { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user