moved BaseModel to own file
This commit is contained in:
parent
c06387ea66
commit
be9a32ce34
@ -47,6 +47,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AggregateDataAccess.cs" />
|
||||
<Compile Include="Models\BaseModel.cs" />
|
||||
<Compile Include="SettlementAttempt\EfSettlementAttemptDataAccess.cs" />
|
||||
<Compile Include="SettlementAttempt\ISettlementAttemptDataAccess.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
|
22
Models/BaseModel.cs
Normal file
22
Models/BaseModel.cs
Normal file
@ -0,0 +1,22 @@
|
||||
using System;
|
||||
|
||||
namespace BinaryDad.AggregateDal.Models
|
||||
{
|
||||
public class BaseModel
|
||||
{
|
||||
/// <summary>
|
||||
/// The SQL key ID
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The Quickbase Record ID
|
||||
/// </summary>
|
||||
public int RecordId { get; set; }
|
||||
|
||||
public DateTime Created { get; set; } = DateTime.Now;
|
||||
public string CreatedBy { get; set; }
|
||||
public DateTime Modified { get; set; }
|
||||
public string ModifiedBy { get; set; }
|
||||
}
|
||||
}
|
@ -1,24 +1,5 @@
|
||||
using System;
|
||||
|
||||
namespace BinaryDad.AggregateDal.Models
|
||||
namespace BinaryDad.AggregateDal.Models
|
||||
{
|
||||
public class BaseModel
|
||||
{
|
||||
/// <summary>
|
||||
/// The SQL key ID
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The Quickbase Record ID
|
||||
/// </summary>
|
||||
public int RecordId { get; set; }
|
||||
|
||||
public DateTime Created { get; set; } = DateTime.Now;
|
||||
public string CreatedBy { get; set; }
|
||||
public DateTime Modified { get; set; }
|
||||
public string ModifiedBy { get; set; }
|
||||
}
|
||||
|
||||
public class SettlementAttempt : BaseModel
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user