...
This commit is contained in:
@@ -5,7 +5,7 @@ using Back.Common;
|
||||
using Shared.DTOs;
|
||||
namespace Back.Data.Models
|
||||
{
|
||||
public class Invoice
|
||||
public class Invoice : ICloneable
|
||||
{
|
||||
#region Key
|
||||
public int ID { get; set; }
|
||||
@@ -178,6 +178,12 @@ namespace Back.Data.Models
|
||||
[ForeignKey("CompanyID")]
|
||||
[JsonIgnore]
|
||||
public virtual Company? company { get; set; }
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
return this.MemberwiseClone();
|
||||
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user