MCPcopy Create free account
hub / github.com/TryCatchLearn/Overflow / Tag

Class Tag

QuestionService/Models/Tag.cs:5–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3namespace QuestionService.Models;
4
5public class Tag
6{
7 [MaxLength(36)]
8 public string Id { get; set; } = Guid.NewGuid().ToString();
9
10 [MaxLength(50)]
11 public required string Name { get; set; }
12
13 [MaxLength(50)]
14 public required string Slug { get; set; }
15
16 [MaxLength(1000)]
17 public required string Description { get; set; }
18
19 public int UsageCount { get; set; }
20}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected