aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Entities/UserDetail.cs
blob: 45f87e2b39de25b419a9f7244237c844bac9e5d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Timeline.Entities
{
    [Table("user_details")]
    public class UserDetail
    {
        [Column("id"), Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long Id { get; set; }

        [Column("nickname"), MaxLength(26)]
        public string? Nickname { get; set; }

        public long UserId { get; set; }
    }
}