using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace YBDevice.NWeb.Pages.RegUser
{
    public class DetailModel : BaseModel
    {
        public int userid = 0;
        public string defaulttime = "";
        public void OnGet(int id)
        {
            defaulttime = $"{DateTime.Now.AddDays(-7).Date} ~ {DateTime.Now.Date.AddDays(1).AddSeconds(-1)}";
            userid = id;
        }
    }
}
