Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Core/Entities/UserCenter/OaClassesFollowRelationship.cs

38 lines
1.0 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
using LearningOfficer.OA.Core.Entities;
using LearningOfficer.OA.Common.Configs;
namespace LearningOfficer.OA.Core.Entities.UserCenter
{
/// <summary>
/// 学习官与班级的关联关系表
///</summary>
[SugarTable("oa_classes_follow_relationship"), Tenant(nameof(ConnectionStringsSettings.UserCenterDb))]
public class OaClassesFollowRelationship : BaseEntity
{
/// <summary>
/// 备 注:用户id学习官id
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "user_id")]
public long UserId { get; set; }
/// <summary>
/// 备 注:班级id
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "classes_id")]
public long ClassesId { get; set; }
/// <summary>
/// 备 注:学校id
/// 默认值:
///</summary>
[SugarColumn(ColumnName = "school_id")]
public long SchoolId { get; set; }
}
}