gcontini
2020-03-28 037e7cc02b66a54d5dec19a6b93a7bf107a95a0e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Backoffice (Draft) (Use Cases)
 
This is a very old sketch of a backoffice domain model (this documentation should be removed since it's not in the 
current plans)
 
## Domain
 
**Software Provider**
* PK ProviderId
* Email (UNIQUE)
* Password
* LicenseGenerator?? (UNIQUE)
* Library headers and compiled files (zip).
 
**Product**
* PK ProductId + (FK) ProviderId
 
**Software User**
* PK UserId + (FK) ProviderId
* Email (UNIQUE)
 
**License**
* PK LicenceId (AUTO)
* FK ProductId + UserId
* StartDate
* EndDate (NULL)
* HostId (NULL)
 
 
## Use Cases ...
 
**Software Provider Sign Up**
 \<\<inlcude\>\>
 * Generate Keys
 * Compile (provider specific) license generator and libraries bundle.
 
**Software Provider Sign In**
 
**Create New License**
 
Alternative scenario : 
create new User, create new Product
 
**List Licences**
 
**(Renew License)**
 
**(Email Expiring Licenses)**