init project
This commit is contained in:
23
Domain/AggregateModel/AppAggregate/App.cs
Normal file
23
Domain/AggregateModel/AppAggregate/App.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Domain.SeedWork;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Domain.AggregateModel.AppAggregate
|
||||
{
|
||||
public class App : IAggregateRoot
|
||||
{
|
||||
public int Id { get; private set; }
|
||||
public string AppKey { get;private set; }
|
||||
public string BaseUrl { get; private set; }
|
||||
public string Remarks { get;private set; }
|
||||
private App() { }
|
||||
public App(string appKey,string remarks)
|
||||
{
|
||||
AppKey = appKey;
|
||||
Remarks = remarks;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user