Sign in

MES / IOT · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • IOT
  • sys
  • Hh.Mes.POJO
  • Request
  • PageReq.cs
  • 代码修复 同步双瑞、海能发
    871af854
    赖素文 authored
    2024-03-22 09:57:39 +0800  
    Browse Code »
PageReq.cs 629 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
namespace Hh.Mes.Common.Request
{
    public class PageReq
    {
        public int page { get; set; }

        private int _limit = 0;
        public int limit
        {
            get
            {
                if (_limit <= 0)
                {
                    return 50;
                }
                else { return _limit; }
            }
            set
            {
                _limit = value;
            }

        }
        public string field { get; set; }
        public string order { get; set; }

        public PageReq()
        {
            page = 1;
            limit = 50;
        }
    }
}