mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 11:44:58 +08:00
#19510: EventRecord and ActionRecord in Orchard.Rules missing length attribute
Work Item: 19510 --HG-- branch : 1.x
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
namespace Orchard.Rules.Models {
|
using Orchard.Data.Conventions;
|
||||||
|
|
||||||
|
namespace Orchard.Rules.Models {
|
||||||
public class ActionRecord {
|
public class ActionRecord {
|
||||||
public virtual int Id { get; set; }
|
public virtual int Id { get; set; }
|
||||||
public virtual string Category { get; set; }
|
public virtual string Category { get; set; }
|
||||||
public virtual string Type { get; set; }
|
public virtual string Type { get; set; }
|
||||||
|
[StringLengthMax]
|
||||||
public virtual string Parameters { get; set; }
|
public virtual string Parameters { get; set; }
|
||||||
public virtual int Position { get; set; }
|
public virtual int Position { get; set; }
|
||||||
|
|
||||||
|
@@ -1,8 +1,11 @@
|
|||||||
namespace Orchard.Rules.Models {
|
using Orchard.Data.Conventions;
|
||||||
|
|
||||||
|
namespace Orchard.Rules.Models {
|
||||||
public class EventRecord {
|
public class EventRecord {
|
||||||
public virtual int Id { get; set; }
|
public virtual int Id { get; set; }
|
||||||
public virtual string Category { get; set; }
|
public virtual string Category { get; set; }
|
||||||
public virtual string Type { get; set; }
|
public virtual string Type { get; set; }
|
||||||
|
[StringLengthMax]
|
||||||
public virtual string Parameters { get; set; }
|
public virtual string Parameters { get; set; }
|
||||||
|
|
||||||
// Parent property
|
// Parent property
|
||||||
|
Reference in New Issue
Block a user