tiny server.

This commit is contained in:
2023-05-23 08:37:20 +08:00
parent 78a5d8d3fa
commit c8bf017a70
50 changed files with 1242 additions and 32 deletions

View File

@@ -0,0 +1,15 @@
using Blahblah.FlowerStory.Server.Data.Model;
using Microsoft.EntityFrameworkCore;
namespace Blahblah.FlowerStory.Server.Data;
public class FlowerDatabase : DbContext
{
public FlowerDatabase(DbContextOptions<FlowerDatabase> options) : base(options) { }
public DbSet<UserItem> Users { get; set; }
public DbSet<FlowerItem> Flowers { get; set; }
public DbSet<RecordItem> Records { get; set; }
}