Files
WorkFlowCheck/src/WorkFlowCheck.DL/Entities/NumberGeneratorTemplate.cs
T
2025-03-19 14:38:04 +01:00

31 lines
888 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorkFlowCheck.DL.Entities
{
public enum GenerateType
{
OnlyYear = 0,
YearAndMonth = 1
}
public class NumberGeneratorTemplate
{
public int Id { get; set; }
public string ShortName { get; set; }
public string Prefix { get; set; }
public string PrefixSeparator { get; set; }
public string DigitFormat { get; set; }
public string SuffixSeparator { get; set; }
public string Suffix { get; set; }
public int CurrentNumber { get; set; }
public string LastGeneratedNumber { get; set; }
public GenerateType GenerateType { get; set; }
public virtual ICollection<NumberGeneratorTemplateDate> NumberGeneratorTemplateDates { get; set; }
}
}