WMSlite/WmsLite.Api/Infrastructure/DatabaseOptions.cs
zhougf fa1b286463 Add WmsLite monorepo with JWT auth, tenant context, and project READMEs.
Implement API security baseline (sys_user, JWT, audit fields, transactions,
unique constraints) and Web real login with 401 handling. Document setup
and development workflows in root, WmsLite.Api, and WmsLite.Web README files.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-24 14:17:47 +08:00

23 lines
463 B
C#

namespace WmsLite.Api.Infrastructure;
public class DatabaseOptions
{
public const string SectionName = "Database";
public CodeFirstOptions CodeFirst { get; set; } = new();
public MigrationOptions Migrations { get; set; } = new();
}
public class CodeFirstOptions
{
public bool Enabled { get; set; }
}
public class MigrationOptions
{
public bool Enabled { get; set; }
public string ConnectionStringName { get; set; } = "PostgreSql";
}