1 Star 0 Fork 837

少年郎/iotgateway

forked from Sam/iotgateway 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
RpcLog.cs 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
namespace IoTGateway.Model
{
[Comment("RPC日志")]
public class RpcLog:TopBasePoco
{
[Comment("发起方")]
[Display(Name = "RpcSide")]
public RpcSide RpcSide { get; set; }
[Comment("开始时间")]
[Display(Name = "StartTime")]
public DateTime StartTime { get; set; }
public Device Device { get; set; }
[Comment("所属设备")]
[Display(Name = "Device")]
public Guid? DeviceId { get; set; }
[Comment("方法")]
[Display(Name = "Method")]
public string Method { get; set; }
[Comment("请求参数")]
[Display(Name = "Parameters")]
public string Params { get; set; }
[Comment("结束时间")]
[Display(Name = "EndTime")]
public DateTime EndTime { get; set; }
[Comment("是否成功")]
[Display(Name = "IsSuccess")]
public bool IsSuccess { get; set; }
[Comment("描述")]
[Display(Name = "Description")]
public string Description { get; set; }
}
public enum RpcSide
{
[Display(Name = "ServerSide")]
ServerSide=1,
[Display(Name = "ClientSide")]
ClientSide =1
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/shaonl/iotgateway.git
git@gitee.com:shaonl/iotgateway.git
shaonl
iotgateway
iotgateway
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385