Use license table in machine photos.

This commit is contained in:
2019-05-27 18:03:08 +01:00
parent 82956c6b77
commit 574176ee4c
7 changed files with 5452 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
@@ -22,6 +23,7 @@ namespace Cicm.Database.Models
[DisplayName("License text")]
[Column(TypeName = "longtext")]
[StringLength(131072)]
public string Text { get; set; }
public string Text { get; set; }
public virtual ICollection<MachinePhoto> Photos { get; set; }
}
}