add basic create and list reminder api
This commit is contained in:
15
Budet-cho-bot/Models/CronRecord.cs
Normal file
15
Budet-cho-bot/Models/CronRecord.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Budet_cho_bot.Models
|
||||
{
|
||||
public class CronRecord
|
||||
{
|
||||
public DateTimeOffset LastRun { set; get; }
|
||||
public TimeSpan Period { set; get; }
|
||||
public bool IsOneShot { set; get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user