using Microsoft.Azure.Cosmos.Table; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TEAMModelOS.SDK.Context.Attributes.Azure; namespace TEAMModelOS.SDK.Models.Table { [TableName(Name = "IESOpenApi")] public class BusinessSchool : TableEntity { // RowKey 雪花id , // PartitionKey :BusinessSchool public string name { get; set; } public string picture { get; set; } /// /// 学校id /// public string school { get; set; } /// /// 企业id /// public string bizid { get; set; } } [TableName(Name = "IESOpenApi")] public class BusinessConfig : TableEntity { public BusinessConfig() { } // RowKey 企业id , // PartitionKey :BusinessConfig /// /// 合作方名称 /// public string name { get; set; } /// /// 密码 /// public string pwd { get; set; } /// /// 联系人手机号 /// public string mobile { get; set; } /// /// 官网地址 /// public string domain { get; set; } /// /// webhook 支持多个域名, 逗号隔开 。 /// public string webhookdomain { get; set; } /// /// 授权的token ,存放 scope="business",Sub="合作方id", 9e40e436-f958-498d-93cf-4242b77a17ab /// public string token { get; set; } public string jti { get; set; } } }