Blame view

sys/Hh.Mes.POJO/Request/PageReq.cs 629 Bytes
赖素文 authored
1
2
3
4
5
namespace Hh.Mes.Common.Request
{
    public class PageReq
    {
        public int page { get; set; }
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

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

        }
赖素文 authored
24
25
26
27
28
29
        public string field { get; set; }
        public string order { get; set; }

        public PageReq()
        {
            page = 1;
30
            limit = 50;
赖素文 authored
31
32
33
        }
    }
}