forked from DapperLib/Dapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Post.cs
25 lines (24 loc) · 809 Bytes
/
Post.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using Soma.Core;
namespace Dapper.Tests.Performance
{
[ServiceStack.DataAnnotations.Alias("Posts")]
[Table(Name = "Posts")]
public class Post
{
[Id(IdKind.Identity)]
public int Id { get; set; }
public string Text { get; set; }
public DateTime CreationDate { get; set; }
public DateTime LastChangeDate { get; set; }
public int? Counter1 { get; set; }
public int? Counter2 { get; set; }
public int? Counter3 { get; set; }
public int? Counter4 { get; set; }
public int? Counter5 { get; set; }
public int? Counter6 { get; set; }
public int? Counter7 { get; set; }
public int? Counter8 { get; set; }
public int? Counter9 { get; set; }
}
}