添加项目文件。
This commit is contained in:
195
Epost.Model/AddressViewModel.cs
Normal file
195
Epost.Model/AddressViewModel.cs
Normal file
@ -0,0 +1,195 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Epost.Model
|
||||
{
|
||||
public class AddressViewModel:Base
|
||||
{
|
||||
private int _Row = 0;
|
||||
private int _PageIndex = 0;
|
||||
private int _PageSize = 0;
|
||||
private int _Area = 0;
|
||||
private string ip = string.Empty;
|
||||
private string location = string.Empty;
|
||||
private string username = string.Empty;
|
||||
private string oprationtime = string.Empty;
|
||||
private string readtime = string.Empty;
|
||||
private string state = string.Empty;
|
||||
//--
|
||||
private int _Type = 0;
|
||||
private int _Block = 0;
|
||||
private int _Address = 0;
|
||||
|
||||
public int Row
|
||||
{
|
||||
get
|
||||
{
|
||||
return _Row;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_Row = value;
|
||||
}
|
||||
}
|
||||
|
||||
public int PageIndex1
|
||||
{
|
||||
get
|
||||
{
|
||||
return _PageIndex;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_PageIndex = value;
|
||||
}
|
||||
}
|
||||
|
||||
public int PageSize1
|
||||
{
|
||||
get
|
||||
{
|
||||
return _PageSize;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_PageSize = value;
|
||||
}
|
||||
}
|
||||
|
||||
public int Area
|
||||
{
|
||||
get
|
||||
{
|
||||
return _Area;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_Area = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string Ip
|
||||
{
|
||||
get
|
||||
{
|
||||
return ip;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
ip = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string Location
|
||||
{
|
||||
get
|
||||
{
|
||||
return location;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
location = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string Username
|
||||
{
|
||||
get
|
||||
{
|
||||
return username;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
username = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string Oprationtime
|
||||
{
|
||||
get
|
||||
{
|
||||
return oprationtime;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
oprationtime = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string Readtime
|
||||
{
|
||||
get
|
||||
{
|
||||
return readtime;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
readtime = value;
|
||||
}
|
||||
}
|
||||
|
||||
public string State
|
||||
{
|
||||
get
|
||||
{
|
||||
return state;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
state = value;
|
||||
}
|
||||
}
|
||||
|
||||
public int Type
|
||||
{
|
||||
get
|
||||
{
|
||||
return _Type;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_Type = value;
|
||||
}
|
||||
}
|
||||
|
||||
public int Block
|
||||
{
|
||||
get
|
||||
{
|
||||
return _Block;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_Block = value;
|
||||
}
|
||||
}
|
||||
|
||||
public int Address
|
||||
{
|
||||
get
|
||||
{
|
||||
return _Address;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_Address = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user