123456789101112131415161718192021222324252627282930313233343536373839 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.Text.Json.Serialization;
- using TEAMModelOS.SDK.Context.Attributes.Azure;
- using TEAMModelOS.SDK.Module.AzureCosmosDBV3;
- namespace TEAMModelOS.Service.Models.Core
- {
- [CosmosDB(RU = 400, Name = "CoreClassroom")]
- public class Classroom:ID
- {
- public Classroom()
- {
- point = new Point();
- }
- [JsonPropertyName("id")]
- public string id { get; set; }
- [PartitionKey]
- public string schoolCode { get; set; }
- public string classroomCode { get; set; }
- public Point point { get; set; }
- public string classroomName { get; set; }
- public string headMaster { get; set; }
- public string periodCode { get; set; }
- public string gradeCode { get; set; }
- public string hiteach { get; set; }
- public int studentCount { get; set; }
- public string classroomType { get; set; }
- public int status { get; set; } = 1;
- public string scope { get; set; }
- public string TEAMModelId { get; set; }
- }
- }
- public class Point
- {
- public float x { get; set; }
- public float y { get; set; }
- }
|