mirror of
https://github.com/dotnetcore/Util.git
synced 2026-10-19 05:31:23 +08:00
24 lines
505 B
C#
24 lines
505 B
C#
namespace Util.Data.EntityFrameworkCore.Samples;
|
|
|
|
public interface ITest {
|
|
/// <summary>
|
|
/// 是否删除
|
|
/// </summary>
|
|
bool IsDeleted { get; set; }
|
|
}
|
|
|
|
public interface ITest2 {
|
|
/// <summary>
|
|
/// 租户标识
|
|
/// </summary>
|
|
string TenantId { get; set; }
|
|
}
|
|
|
|
public class Test:ITest,ITest2 {
|
|
public bool IsDeleted { get; set; }
|
|
public string TenantId { get; set; }
|
|
}
|
|
|
|
public class Test2 : ITest2 {
|
|
public string TenantId { get; set; }
|
|
} |