Lesson.cs 498 B

123456789101112131415161718192021
  1. using Microsoft.Table;
  2. using Newtonsoft.Json;
  3. using System.Text.Json.Serialization;
  4. using TEAMModelOS.SDK.Context.Attributes.Azure;
  5. namespace TEAMModelOS.SDK.Models
  6. {
  7. /// <summary>
  8. /// 課程與醍摩豆ID關聯表
  9. /// </summary>
  10. [TableName(Name = "Lesson")]
  11. public class Lesson : TableEntity
  12. {
  13. public Lesson() { }
  14. public Lesson(string id, string lessonId)
  15. {
  16. this.PartitionKey = id;
  17. this.RowKey = lessonId;
  18. }
  19. }
  20. }