using System; 
 | 
using System.Collections.Generic; 
 | 
using System.Linq; 
 | 
using System.Text; 
 | 
using System.Threading.Tasks; 
 | 
  
 | 
namespace WIDESEA_Core.Attributes 
 | 
{ 
 | 
    [AttributeUsage(AttributeTargets.Property)] 
 | 
    public class SequenceAttribute : Attribute 
 | 
    { 
 | 
        public string SequenceName { get; set; } 
 | 
  
 | 
        public int SeqMaxValue { get; set; } = int.MaxValue; 
 | 
  
 | 
        public int SeqMinValue { get; set; } = 1; 
 | 
  
 | 
        public int StartWith { get; set; } = 1; 
 | 
  
 | 
        public int Increment { get; set; } = 1; 
 | 
  
 | 
        public bool IsCycle { get; set; } = true; 
 | 
  
 | 
        public SequenceAttribute(string sequenceName, int seqMaxValue) 
 | 
        { 
 | 
            SequenceName = sequenceName; 
 | 
            SeqMaxValue = seqMaxValue; 
 | 
        } 
 | 
    } 
 | 
} 
 |