165 lines
2.6 KiB
C#
165 lines
2.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace HZQR.Common
|
|
{
|
|
class CommonObject
|
|
{
|
|
|
|
}
|
|
|
|
#region 对象 -> 服务器对象
|
|
/// <summary>
|
|
/// 对象 -> 服务器对象
|
|
/// </summary>
|
|
public class ServerPartObject
|
|
{
|
|
public string text
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
public string pointX
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string pointY
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string code
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 对象 -> 销售数据对象
|
|
/// <summary>
|
|
/// 对象 -> 销售数据对象
|
|
/// </summary>
|
|
public class SellDataObject
|
|
{
|
|
public string name
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string commoditycount
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string price
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string totalprice
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string selltime
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 对象 -> 图片对象
|
|
/// <summary>
|
|
/// 对象 -> 销售数据对象
|
|
/// </summary>
|
|
public class ImageObject
|
|
{
|
|
public string path
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
public string code
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
#region 对象 -> 树对象
|
|
/// <summary>
|
|
/// 对象 -> 销售数据对象
|
|
/// </summary>
|
|
/// <summary>
|
|
/// 树节点选项类
|
|
/// </summary>
|
|
public class TreeItem
|
|
{
|
|
//文本
|
|
public string name
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
//是否展开
|
|
public bool open
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
//TAB 内码
|
|
public string id
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
//上级树节点
|
|
public string pid
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
//图标
|
|
public string icon
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
//Url地址
|
|
public string url
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
//对象Tag
|
|
public string tag
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
//
|
|
//对象Tag
|
|
public string itemType
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
#endregion
|
|
|
|
|
|
}
|