From 848649a7d280c1ac5dcaea753cc25f71d20e0f28 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Wed, 23 Oct 2024 00:51:40 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20WfState-Entit=C3=A4t=20erstellen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WorkFlow.Domain/Entities/WfState.cs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 WorkFlow.Domain/Entities/WfState.cs diff --git a/WorkFlow.Domain/Entities/WfState.cs b/WorkFlow.Domain/Entities/WfState.cs new file mode 100644 index 0000000..fbafd10 --- /dev/null +++ b/WorkFlow.Domain/Entities/WfState.cs @@ -0,0 +1,25 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace WorkFlow.Domain.Entities +{ + [Table("TBMWF_WF_STATE", Schema = "dbo")] + public class WfState + { + [Key] + [Column("GUID")] + public int Id { get; init; } + + [Required] + [Column("INTL_STATE", TypeName = "varchar(100)")] + public required string IntlState { 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; } + } +} \ No newline at end of file