#19510: EventRecord and ActionRecord in Orchard.Rules missing length attribute

Work Item: 19510

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros 2013-03-18 09:52:12 -07:00
parent 8be5569c3c
commit 856f051764
2 changed files with 8 additions and 2 deletions

View File

@ -1,8 +1,11 @@
namespace Orchard.Rules.Models {
using Orchard.Data.Conventions;
namespace Orchard.Rules.Models {
public class ActionRecord {
public virtual int Id { get; set; }
public virtual string Category { get; set; }
public virtual string Type { get; set; }
[StringLengthMax]
public virtual string Parameters { get; set; }
public virtual int Position { get; set; }

View File

@ -1,8 +1,11 @@
namespace Orchard.Rules.Models {
using Orchard.Data.Conventions;
namespace Orchard.Rules.Models {
public class EventRecord {
public virtual int Id { get; set; }
public virtual string Category { get; set; }
public virtual string Type { get; set; }
[StringLengthMax]
public virtual string Parameters { get; set; }
// Parent property