Files
sanstudent/Api/Database/Entities/Season.cs
aherman-san b8f03bf6d3
All checks were successful
SanStudent Multi-Project Deployment / deploy-api (push) Successful in 41s
SanStudent Multi-Project Deployment / deploy-frontadmin (push) Successful in 41s
SanStudent Multi-Project Deployment / deploy-frontstudent (push) Successful in 40s
Add project
2026-03-07 11:14:26 +01:00

23 lines
489 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics.CodeAnalysis;
namespace Api.Database.Entities;
[Table("Seasons")]
public class Season : BaseEntity
{
[Column("Name")]
[NotNull]
[MaxLength(20)]
public string? Name { get; set; }
[Column("StartDate")]
[NotNull]
public DateOnly StartDate { get; set; }
[Column("EndDate")]
[NotNull]
public DateOnly EndDate { get; set; }
}