* minor changes (like an [em] BBcode)
* Trying to use OAuth2 Google Login
This commit is contained in:
parent
d1f76f4902
commit
3f41636719
32 changed files with 16285 additions and 119 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
{
|
||||
|
|
@ -10,11 +11,17 @@ namespace SalesCatalog.Model
|
|||
/// <value>
|
||||
/// The identifier.
|
||||
/// </value>
|
||||
|
||||
[Required]
|
||||
[StringLength(256)]
|
||||
public string Id { get; set; }
|
||||
private string name=null;
|
||||
|
||||
public abstract string Type { get; }
|
||||
|
||||
private string name=null;
|
||||
|
||||
[StringLength(256)]
|
||||
public string Name { get { return name == null ? Id : name; } set { name = value; } }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue