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 = "BIOptLog")]
public class BIOptLog: TableEntity
{
///
/// 日志平台:BI 、 IES5
///
public string platform { get; set; }
///
/// 醍摩豆ID
///
public string tmdId { get; set; }
///
/// 账号名称
///
public string name { get; set; }
///
/// 操作描述
///
public string msg { get; set; }
///
/// json文件地址
///
public string jsonfile { get; set; }
///
/// 日志类型: school-update school-del 名词-动词组合方式
///
public string type { get; set; }
///
/// 访问接口
///
public string url { get; set; }
///
/// 使用范围 private school
///
public string scope { get; set; }
///
/// 学校编码
///
public string school { get; set; }
///
/// 保存模式。0 Table ,1 增加保存在Blob
///
public int saveMod { get; set; } = 0;
public long time { get; set; } = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
}
}