Class TagSqlModel
- Namespace
- OpenSettings.Domains.Sql.Entities
- Assembly
- OpenSettings.dll
Represents a tag entity.
[Table("Tags")]
public class TagSqlModel : EntityBase<int>
- Inheritance
-
TagSqlModel
- Inherited Members
Properties
AppTagMappings
The collection of app-tag mappings assigned to the tag.
public virtual List<AppTagMappingSqlModel> AppTagMappings { get; set; }
Property Value
CreatedBy
The user who created this tag.
[ForeignKey("CreatedById")]
public virtual UserSqlModel CreatedBy { get; set; }
Property Value
CreatedById
The id of the user who created this tag.
public Guid? CreatedById { get; set; }
Property Value
- Guid?
Name
The name of the tag.
public string Name { get; set; }
Property Value
NameLowercase
The lowercase version of the Name, typically used for case-insensitive comparisons.
public string NameLowercase { get; set; }
Property Value
RowVersion
A concurrency token used for tracking changes.
Helps prevent conflicts during concurrent updates.
public byte[] RowVersion { get; set; }
Property Value
- byte[]
Slug
An url friendly version of the Name, generated by trimming, converting to lowercase,
and replacing spaces or special characters with hyphens (using ToSlug(string) extension method).
public string Slug { get; set; }
Property Value
SortOrder
The sort order of this tag in a list.
public int SortOrder { get; set; }
Property Value
UpdatedBy
The user who last updated this app group.
[ForeignKey("UpdatedById")]
public virtual UserSqlModel UpdatedBy { get; set; }
Property Value
UpdatedById
The id of the user who last updated this tag.
public Guid? UpdatedById { get; set; }
Property Value
- Guid?