feat: Profil-Entität erstellen
This commit is contained in:
parent
fff7e069c4
commit
beae1d2496
43
WorkFlow.Domain/Entities/Profile.cs
Normal file
43
WorkFlow.Domain/Entities/Profile.cs
Normal file
@ -0,0 +1,43 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace WorkFlow.Domain.Entities
|
||||
{
|
||||
[Table("TBMWF_PROFILE", Schema = "dbo")]
|
||||
public class Profile
|
||||
{
|
||||
[Key]
|
||||
[Column("GUID")]
|
||||
public int Id { get; init; }
|
||||
|
||||
[Required]
|
||||
[Column("INTL_NAME", TypeName = "varchar(200)")]
|
||||
public required string IntlName { get; init; }
|
||||
|
||||
[Required]
|
||||
[Column("EXT_ID1")]
|
||||
public required int ExtId1 { get; init; }
|
||||
|
||||
[Required]
|
||||
[Column("ACTIVE")]
|
||||
public required bool Active { get; init; }
|
||||
|
||||
[Required]
|
||||
[Column("ADDED_WHO", TypeName = "varchar(30)")]
|
||||
public required string AddedWho { get; init; }
|
||||
|
||||
[Required]
|
||||
[Column("ADDED_WHEN", TypeName = "datetime")]
|
||||
public required DateTime AddedWhen { get; init; }
|
||||
|
||||
[Column("CHANGED_WHO", TypeName = "varchar(30)")]
|
||||
public string? ChangedWho { get; init; }
|
||||
|
||||
[Column("CHANGED_WHEN", TypeName = "datetime")]
|
||||
public DateTime? ChangedWhen { get; init; }
|
||||
|
||||
[Required]
|
||||
[Column("TYPE_ID")]
|
||||
public required byte TypeId { get; init; }
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user