24 lines
690 B
C#
24 lines
690 B
C#
using Church.Net.Entity.Interface;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Text;
|
|
using System.ComponentModel;
|
|
|
|
namespace Church.Net.Entity
|
|
{
|
|
public class Contribution : IEntity
|
|
{
|
|
[ForeignKey("HappinessGroup")]
|
|
public string GroupId { get; set; }
|
|
public PastoralDomain HappinessGroup { get; set; }
|
|
[Key]
|
|
public string Id { get; set; }
|
|
public string Contributor { get; set; }
|
|
public decimal Amount { get; set; }
|
|
public string Comment { get; set; }
|
|
public DateTime Time { get; set; }
|
|
}
|
|
}
|