mirror of
https://github.com/sphildreth/roadie
synced 2024-11-10 06:44:12 +00:00
29 lines
No EOL
758 B
C#
29 lines
No EOL
758 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Roadie.Library.Data
|
|
{
|
|
[Table("creditCategory")]
|
|
public partial class CreditCategory : NamedEntityBase
|
|
{
|
|
[Column("description")]
|
|
[MaxLength(4000)]
|
|
public string Description { get; set; }
|
|
|
|
[MaxLength(100)]
|
|
[Column("name")]
|
|
public override string Name { get; set; }
|
|
|
|
[NotMapped]
|
|
public override string SortName { get; set; }
|
|
|
|
[InverseProperty("CreditCategory")]
|
|
public virtual ICollection<Credit> Credits { get; set; }
|
|
|
|
public CreditCategory()
|
|
{
|
|
Credits = new HashSet<Credit>();
|
|
}
|
|
}
|
|
} |