hello-shop/samples/MultiTenancySample/MultiTenancySample.FieldIsolationService/Entities/Product.cs

17 lines
441 B
C#
Raw Normal View History

2024-07-05 11:25:58 +00:00
// Copyright (c) HelloShop Corporation. All rights reserved.
// See the license file in the project root for more information.
using System.Text.Json.Serialization;
2024-04-28 08:00:15 +00:00
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; }
}
}