- Removed dependency on IUnique<int> interface - Removed validation and database annotations like [Required], [Key] - Renamed/updated column mappings and replaced required fields with nullable types - Removed metadata fields such as AddedWho, AddedWhen, ChangedWho, ChangedWhen, etc. - Cleaned up namespace and using directives
27 lines
580 B
C#
27 lines
580 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace WorkFlow.Domain.Entities;
|
|
|
|
public class Profile
|
|
{
|
|
[Column("PROFILE_ID")]
|
|
public int? Id { get; set; }
|
|
|
|
[Column("TYPE_ID")]
|
|
public int? TypeId { get; set; }
|
|
|
|
[Column("CAPTION")]
|
|
public string? Caption { get; set; }
|
|
|
|
[Column("SUBTITLE")]
|
|
public string? Subtitle { get; set; }
|
|
|
|
[Column("COUNTOBJ")]
|
|
public int? CountObj { get; set; }
|
|
|
|
[Column("FORE_COLOR")]
|
|
public string? ForeColor { get; set; }
|
|
|
|
[Column("BACK_COLOR")]
|
|
public string? BackColor { get; set; }
|
|
} |