You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
641 B
26 lines
641 B
using System.Collections.Generic;
|
|
using Tiobon.Core.Model.Models.RootTkey;
|
|
using Tiobon.Core.Model.Tenants;
|
|
using SqlSugar;
|
|
|
|
namespace Tiobon.Core.Model.Models;
|
|
|
|
/// <summary>
|
|
/// 多租户-多表方案 业务表 <br/>
|
|
/// </summary>
|
|
[MultiTenant(TenantTypeEnum.Tables)]
|
|
public class MultiBusinessTable : BaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 金额
|
|
/// </summary>
|
|
public decimal Amount { get; set; }
|
|
|
|
[Navigate(NavigateType.OneToMany, nameof(MultiBusinessSubTable.MainId))]
|
|
public List<MultiBusinessSubTable> Child { get; set; }
|
|
} |