添加项目文件。
This commit is contained in:
84
Epost.Model/LabelModel.cs
Normal file
84
Epost.Model/LabelModel.cs
Normal file
@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Epost.Model
|
||||
{
|
||||
public class LabelModel:ControlModel
|
||||
{
|
||||
private string _LabelID = string.Empty;
|
||||
private string _LabelType = string.Empty;
|
||||
private string _LabelAddress = string.Empty;
|
||||
private int _AddrStart = 0;
|
||||
private int _AddrEnd = 0;
|
||||
|
||||
[Display(Name = "标签编号")]
|
||||
public string LabelID
|
||||
{
|
||||
get
|
||||
{
|
||||
return _LabelID;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_LabelID = value;
|
||||
}
|
||||
}
|
||||
[Display(Name = "标签类型")]
|
||||
public string LabelType
|
||||
{
|
||||
get
|
||||
{
|
||||
return _LabelType;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_LabelType = value;
|
||||
}
|
||||
}
|
||||
[Display(Name = "标签地址")]
|
||||
public string LabelAddress
|
||||
{
|
||||
get
|
||||
{
|
||||
return _LabelAddress;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_LabelAddress = value;
|
||||
}
|
||||
}
|
||||
|
||||
public int AddrStart
|
||||
{
|
||||
get
|
||||
{
|
||||
return _AddrStart;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_AddrStart = value;
|
||||
}
|
||||
}
|
||||
|
||||
public int AddrEnd
|
||||
{
|
||||
get
|
||||
{
|
||||
return _AddrEnd;
|
||||
}
|
||||
|
||||
set
|
||||
{
|
||||
_AddrEnd = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user