cloudnet-compose/worker/dotnet/Worker/Entities/Vote.cs

17 lines
340 B
C#
Raw Normal View History

2018-09-21 20:23:31 +02:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Worker.Entities
{
[Table("votes")]
public class Vote
{
[Column("id")]
[Key]
public string VoterId { get; set; }
[Column("vote")]
public string VoteOption { get; set; }
}
}