using SqlSugar;
using System.ComponentModel;
using XF.Domain.Repository;

namespace Hotline.CaseLibrary;

/// <summary>
/// 案例分类关联机构
/// </summary>
[Description("案例分类关联机构")]
[SugarIndex("index_caseTypeOrg_typeId", nameof(CaseTypeOrg.TypeId), OrderByType.Desc)]
[SugarIndex("index_caseTypeOrg_orgId", nameof(CaseTypeOrg.OrgId), OrderByType.Desc)]
public class CaseTypeOrg : FullStateEntity
{
    /// <summary>
    /// 案例分类ID
    /// </summary>
    public string TypeId { get; set; }

    /// <summary>
    /// 机构ID
    /// </summary>
    public string OrgId { get; set; }

    /// <summary>
    /// 机构名称
    /// </summary>
    public string OrgName { get; set; }
}

