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.
35 lines
825 B
C#
35 lines
825 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace ReC.Domain.Entities;
|
|
|
|
[Table("TBREC_OUT_RESULT", Schema = "dbo")]
|
|
public class OutRes
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
[Column("GUID")]
|
|
public long? Id { get; set; }
|
|
|
|
[Column("ACTION_ID")]
|
|
public long? ActionId { get; set; }
|
|
|
|
[Column("RESULT_HEADER")]
|
|
public string? Header { get; set; }
|
|
|
|
[Column("RESULT_BODY")]
|
|
public string? Body { get; set; }
|
|
|
|
[Column("ADDED_WHO")]
|
|
public string? AddedWho { get; set; }
|
|
|
|
[Column("ADDED_WHEN")]
|
|
public DateTime? AddedWhen { get; set; }
|
|
|
|
[Column("CHANGED_WHO")]
|
|
public string? ChangedWho { get; set; }
|
|
|
|
[Column("CHANGED_WHEN")]
|
|
public DateTime? ChangedWhen { get; set; }
|
|
}
|