using DotNetNuke.ComponentModel.DataAnnotations; namespace <%= fullNamespace %>.Data { using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; /// /// Class representing an item in the application. /// [Table("<%= friendlyName %>_Items")] public partial class Item { /// /// Gets or sets the unique identifier of the item. /// [Key] public int ItemId { get; set; } /// /// Gets or sets the name of the item. /// public string ItemName { get; set; } /// /// Gets or sets the description of the item. /// public string ItemDescription { get; set; } /// /// Gets or sets the identifier of the user assigned to this item. /// public int? AssignedUserId { get; set; } /// /// Gets or sets the module identifier to which the item belongs. /// public int ModuleId { get; set; } /// /// Gets or sets the date when the item was created. /// public DateTime CreatedOnDate { get; set; } /// /// Gets or sets the identifier of the user who created the item. /// public int CreatedByUserId { get; set; } /// /// Gets or sets the date when the item was last modified. /// public DateTime LastModifiedOnDate { get; set; } /// /// Gets or sets the identifier of the user who last modified the item. /// public int LastModifiedByUserId { get; set; } } }