You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/ApiGateway/Models/Message.cs

23 lines
610 B

namespace ApiGateway.Models
{
public class Chat
{
public string Id { get; set; }
public string FromName { get; set; }
public string ToId { get; set; }
public string Type { get; set; }
}
public class Message
{
public string Id { get; set; }
public string Type { get; set; }
public string FromId { get; set; }
public string FromName { get; set; }
public string ToId { get; set; }
public string ToName { get; set; }
public string Content { get; set; }
public long Timestamp { get; set; }
}
}