Klavzule
This commit is contained in:
@@ -21,6 +21,11 @@ namespace EveryThing.Models.CodeTable
|
||||
[Display(Name = "Vsebina")]
|
||||
public string Content { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string ContentDisplay => Content == null ? "" : Content.Length >= 30
|
||||
? Content.Substring(0, 30)
|
||||
: Content;
|
||||
|
||||
// ForeingKey
|
||||
public CodeTableCompany Company { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user