Rename ResultHeader/ResultBody to Header/Body

Renamed the `ResultHeader` and `ResultBody` properties to `Header`
and `Body` in both `CreateOutResCommand` and `OutRes` classes
to improve naming consistency. Default values and database
column mappings remain unchanged.
This commit is contained in:
tekh 2025-12-01 11:05:33 +01:00
parent c5709c148b
commit bf5e2e1d25
2 changed files with 4 additions and 4 deletions

View File

@ -11,9 +11,9 @@ public class CreateOutResCommand
public long ActionId { get; set; }
public string ResultHeader { get; set; } = EmptyJson;
public string Header { get; set; } = EmptyJson;
public string ResultBody { get; set; } = EmptyJson;
public string Body { get; set; } = EmptyJson;
public string? AddedWho { get; set; }
}

View File

@ -15,10 +15,10 @@ public class OutRes
public long? ActionId { get; set; }
[Column("RESULT_HEADER")]
public string? ResultHeader { get; set; }
public string? Header { get; set; }
[Column("RESULT_BODY")]
public string? ResultBody { get; set; }
public string? Body { get; set; }
[Column("ADDED_WHO")]
public string? AddedWho { get; set; }