You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/IoT.Shared/Application/Models/SearchDataHistoryModel.cs

18 lines
539 B

using Application.Domain.Entities;
using Infrastructure.Application;
using System;
using System.ComponentModel.DataAnnotations;
namespace Application.Models
{
public class SearchDataHistoryModel : PagedListModel<DisplayDataHistoryModel>
{
[Display(Name = "开始")]
[DataType(DataType.Date)]
public DateTime Start { get; set; } = DateTime.Now.Date.AddMonths(-1);
[Display(Name = "结束")]
[DataType(DataType.Date)]
public DateTime End { get; set; } = DateTime.Now.Date;
}
}