Files
Torsten Brendgen 7db53c1aba Add cache and build configuration files for .NET projects
- Created new cache JSON files for rjsmcshtml, rjsmrazor, and rpswa in both net10.0 and net7.0 directories.
- Added static web assets build configuration files in both net10.0 and net7.0 directories.
- Included build endpoint configurations and cache files for static web assets.
- Ensured all new files are properly initialized with relevant properties and hashes.
2026-05-14 21:39:46 +02:00

39 lines
1.3 KiB
C#

using Azure;
using Azure.Core;
using Microsoft.AspNetCore.Identity;
using Microsoft.SelfService.Portal.Core.API.Extensions.Dataannotations;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
namespace Microsoft.SelfService.Portal.Core.API.Models
{
public class BaseModel
{
[Column(Order = 0)]
[DefaultValueSql("NEWID()")]
//[DatabaseGenerated(DatabaseGeneratedOption.None)]
public Guid Id { get; set; }
[Column(Order = 50)]
[DefaultValueSql("GETDATE()")]
//[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
public DateTime Modified { get; set; } = DateTime.Now;
[Column(Order = 51)]
[DefaultValue("System")]
//[DatabaseGenerated(DatabaseGeneratedOption.Computed)]
public string ModifiedBy { get; set; } = "System";
[Column(Order = 52)]
[DefaultValueSql("GETDATE()")]
//[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public DateTime Created { get; set; } = DateTime.Now;
[Column(Order = 53)]
[DefaultValue("System")]
//[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
//public string CreatedBy { get; set; } = "CCIS-P01S01-CM\\ASA_SSP_Admin";
public string CreatedBy { get; set; } = "System";
}
}