generated from noisedestroyers/claude
24 lines
747 B
C#
24 lines
747 B
C#
|
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
|
||
|
|
namespace Database.Models
|
||
|
|
{
|
||
|
|
public class Project : BaseEntity
|
||
|
|
{
|
||
|
|
[Required]
|
||
|
|
[MaxLength(200)]
|
||
|
|
public string Name { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
public string? Description { get; set; }
|
||
|
|
|
||
|
|
[Required]
|
||
|
|
[MaxLength(200)]
|
||
|
|
public string CCNetProjectName { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
[MaxLength(50)]
|
||
|
|
public string Status { get; set; } = "Active"; // Active, Inactive, Archived
|
||
|
|
|
||
|
|
// Navigation properties
|
||
|
|
public ICollection<Build> Builds { get; set; } = new List<Build>();
|
||
|
|
public ICollection<Package> Packages { get; set; } = new List<Package>();
|
||
|
|
}
|
||
|
|
}
|