mirror of
https://github.com/sphildreth/roadie
synced 2024-11-22 20:23:16 +00:00
24 lines
569 B
C#
24 lines
569 B
C#
using Roadie.Library.Identity;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Text;
|
|
|
|
namespace Roadie.Library.Data
|
|
{
|
|
[Table("chatMessage")]
|
|
public class ChatMessage : EntityBase
|
|
{
|
|
public ApplicationUser User { get; set; }
|
|
|
|
[Column("userId")]
|
|
[Required]
|
|
public int UserId { get; set; }
|
|
|
|
[Column("message")]
|
|
[Required]
|
|
[MaxLength(5000)]
|
|
public string Message { get; set; }
|
|
}
|
|
}
|