零框架多租户设计方案
This commit is contained in:
1 parent
b7caaa2d0c
commit
b4a704526d
42 files changed
+1002
-1
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace MultiTenancySample.FieldIsolationService.Entities
|
||||
{
|
||||
public class Product : IMultiTenant
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public required string Name { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public string? TenantId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user