generated from noisedestroyers/claude
[claudesquad] update from 'database' on 22 Jul 25 13:45 EDT (paused)
This commit is contained in:
24
src/Database/Models/Project.cs
Normal file
24
src/Database/Models/Project.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user