增加后台功能
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace COMCMS.Core.Models
|
||||
{
|
||||
public class APIModels
|
||||
{
|
||||
}
|
||||
|
||||
#region 小程序商品购物车信息
|
||||
/// <summary>
|
||||
/// 小程序的商品购物车
|
||||
/// </summary>
|
||||
public class WXAppProductCart
|
||||
{
|
||||
public int id { get; set; } = 0;
|
||||
public int qty { get; set; } = 1;
|
||||
public string title { get; set; }
|
||||
public decimal price { get; set; }
|
||||
public string pic { get; set; }
|
||||
public bool selected { get; set; } = false;
|
||||
}
|
||||
/// <summary>
|
||||
/// 小程序提交订单购物车单项
|
||||
/// </summary>
|
||||
public class WXAppCheckoutProductCart
|
||||
{
|
||||
/// <summary>
|
||||
/// 商品ID
|
||||
/// </summary>
|
||||
public int id { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public int qty { get; set; } = 1;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,305 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace COMCMS.Core.Models
|
||||
{
|
||||
#region 0:代码型广告
|
||||
/// <summary>
|
||||
/// 实体类ScriptAds 代码型广告
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class ScriptAds
|
||||
{
|
||||
public ScriptAds()
|
||||
{ }
|
||||
private string _content;
|
||||
/// <summary>
|
||||
/// 广告代码
|
||||
/// </summary>
|
||||
public string content
|
||||
{
|
||||
set { _content = value; }
|
||||
get { return _content; }
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 1:文字型广告
|
||||
/// <summary>
|
||||
/// 实体类 TextAds 文字型广告
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class TextAds
|
||||
{
|
||||
public TextAds()
|
||||
{ }
|
||||
private string _txt;
|
||||
private string _link;
|
||||
private string _style;
|
||||
/// <summary>
|
||||
/// 文字内容
|
||||
/// </summary>
|
||||
public string txt
|
||||
{
|
||||
set { _txt = value; }
|
||||
get { return _txt; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 链接地址
|
||||
/// </summary>
|
||||
public string link
|
||||
{
|
||||
set { _link = value; }
|
||||
get { return _link; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 文字样式名称
|
||||
/// </summary>
|
||||
public string style
|
||||
{
|
||||
set { _style = value; }
|
||||
get { return _style; }
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 2:图片广告
|
||||
/// <summary>
|
||||
/// 实体类 ImgAds 图片类型广告
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class ImgAds
|
||||
{
|
||||
public ImgAds()
|
||||
{ }
|
||||
private string _img;
|
||||
private string _link;
|
||||
private int _width = 0;
|
||||
private int _height = 0;
|
||||
private string _alt;
|
||||
/// <summary>
|
||||
/// 图片地址
|
||||
/// </summary>
|
||||
public string img
|
||||
{
|
||||
set { _img = value; }
|
||||
get { return _img; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 链接地址
|
||||
/// </summary>
|
||||
public string link
|
||||
{
|
||||
set { _link = value; }
|
||||
get { return _link; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 图片宽度,0为不设置
|
||||
/// </summary>
|
||||
public int width
|
||||
{
|
||||
set { _width = value; }
|
||||
get { return _width; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 图片高度,0为不设置
|
||||
/// </summary>
|
||||
public int height
|
||||
{
|
||||
set { _height = value; }
|
||||
get { return _height; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 替换文字
|
||||
/// </summary>
|
||||
public string alt
|
||||
{
|
||||
set { _alt = value; }
|
||||
get { return _alt; }
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 3:Flash广告
|
||||
/// <summary>
|
||||
/// 实体类 FlashAds,Flash类型广告
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class FlashAds
|
||||
{
|
||||
public FlashAds()
|
||||
{ }
|
||||
private string _swf;
|
||||
private int _width = 0;
|
||||
private int _height = 0;
|
||||
/// <summary>
|
||||
/// Flash地址
|
||||
/// </summary>
|
||||
public string swf
|
||||
{
|
||||
set { _swf = value; }
|
||||
get { return _swf; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 图片宽度,0为不设置
|
||||
/// </summary>
|
||||
public int width
|
||||
{
|
||||
set { _width = value; }
|
||||
get { return _width; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 图片高度,0为不设置
|
||||
/// </summary>
|
||||
public int height
|
||||
{
|
||||
set { _height = value; }
|
||||
get { return _height; }
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
// 4:幻灯片广告 即图片广告列表
|
||||
// 5:漂浮广告 图片广告一样
|
||||
|
||||
#region 6:对联广告
|
||||
/// <summary>
|
||||
/// 对联漂浮广告实体类 TwoFloatAds
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class TwoFloatAds
|
||||
{
|
||||
public TwoFloatAds()
|
||||
{ }
|
||||
//左边
|
||||
private string _limg;
|
||||
private string _llink;
|
||||
private int _lwidth = 0;
|
||||
private int _lheight = 0;
|
||||
private string _lalt;
|
||||
//右边
|
||||
private string _rimg;
|
||||
private string _rlink;
|
||||
private int _rwidth = 0;
|
||||
private int _rheight = 0;
|
||||
private string _ralt;
|
||||
|
||||
/// <summary>
|
||||
/// 左边图片地址
|
||||
/// </summary>
|
||||
public string limg
|
||||
{
|
||||
set { _limg = value; }
|
||||
get { return _limg; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 左边链接地址
|
||||
/// </summary>
|
||||
public string llink
|
||||
{
|
||||
set { _llink = value; }
|
||||
get { return _llink; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 左边图片宽度,0为不设置
|
||||
/// </summary>
|
||||
public int lwidth
|
||||
{
|
||||
set { _lwidth = value; }
|
||||
get { return _lwidth; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 左边图片高度,0为不设置
|
||||
/// </summary>
|
||||
public int lheight
|
||||
{
|
||||
set { _lheight = value; }
|
||||
get { return _lheight; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 左边图片替换文字
|
||||
/// </summary>
|
||||
public string lalt
|
||||
{
|
||||
set { _lalt = value; }
|
||||
get { return _lalt; }
|
||||
}
|
||||
//-------右边-------------------
|
||||
/// <summary>
|
||||
/// 右边图片地址
|
||||
/// </summary>
|
||||
public string rimg
|
||||
{
|
||||
set { _rimg = value; }
|
||||
get { return _rimg; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 右边链接地址
|
||||
/// </summary>
|
||||
public string rlink
|
||||
{
|
||||
set { _rlink = value; }
|
||||
get { return _rlink; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 右边图片宽度,0为不设置
|
||||
/// </summary>
|
||||
public int rwidth
|
||||
{
|
||||
set { _rwidth = value; }
|
||||
get { return _rwidth; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 右边图片高度,0为不设置
|
||||
/// </summary>
|
||||
public int rheight
|
||||
{
|
||||
set { _rheight = value; }
|
||||
get { return _rheight; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 右边图片替换文字
|
||||
/// </summary>
|
||||
public string ralt
|
||||
{
|
||||
set { _ralt = value; }
|
||||
get { return _ralt; }
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 7:视频广告
|
||||
/// <summary>
|
||||
/// 视频广告
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class VideoAds
|
||||
{
|
||||
/// <summary>
|
||||
/// 标题
|
||||
/// </summary>
|
||||
public string title { get; set; }
|
||||
/// <summary>
|
||||
/// 封面
|
||||
/// </summary>
|
||||
public string poster { get; set; }
|
||||
/// <summary>
|
||||
/// 视频地址
|
||||
/// </summary>
|
||||
public string src { get; set; }
|
||||
/// <summary>
|
||||
/// 宽度
|
||||
/// </summary>
|
||||
public int width { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 高度
|
||||
/// </summary>
|
||||
public int height { get; set; } = 0;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,189 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using COMCMS.Common;
|
||||
|
||||
namespace COMCMS.Core.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 附件配置
|
||||
/// </summary>
|
||||
public class AttachConfigEntity
|
||||
{
|
||||
public AttachConfigEntity()
|
||||
{ }
|
||||
#region Model
|
||||
private string _attachpatch = "userfiles";
|
||||
private int _savetype = 0;
|
||||
private int _iscreatethum = 0;
|
||||
private int _thumqty = 80;
|
||||
private int _thummaxwidth = 200;
|
||||
private int _thummaxheight = 200;
|
||||
private int _iswatermark = 0;
|
||||
private int _watermarktype = 0;
|
||||
private int _watermarkminwidth = 400;
|
||||
private int _watermarkminheight = 400;
|
||||
private string _watermarkimg = "";
|
||||
private string _watermarktext = string.Empty;
|
||||
private string _watermarktextcolor = "#0FF";
|
||||
private int _watermarkplace = 9;
|
||||
private int _watermarkqty = 80;
|
||||
private int _watermarkdiaphaneity = 80;
|
||||
|
||||
private int _siteid = 0;
|
||||
/// <summary>
|
||||
/// 网站ID
|
||||
/// </summary>
|
||||
public int SiteId
|
||||
{
|
||||
get { return _siteid; }
|
||||
set { _siteid = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 附件目录,图片自动在这个目录后面加上images/、文件files/、flash:flash/、多媒体:media/
|
||||
/// </summary>
|
||||
public string AttachPatch
|
||||
{
|
||||
set { _attachpatch = value; }
|
||||
get { return _attachpatch; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 存放类型,0统一目录,1按月份(推荐),2按天
|
||||
/// </summary>
|
||||
public int SaveType
|
||||
{
|
||||
set { _savetype = value; }
|
||||
get { return _savetype; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 是否生成缩略图,0不生成,1生成不超过指定大小的缩略图,2生成固定大小的缩略图 缩略图存放在附件目录/_thumbs目录
|
||||
/// </summary>
|
||||
public int IsCreateThum
|
||||
{
|
||||
set { _iscreatethum = value; }
|
||||
get { return _iscreatethum; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 缩略图质量 100最高
|
||||
/// </summary>
|
||||
public int ThumQty
|
||||
{
|
||||
set { _thumqty = value; }
|
||||
get { return _thumqty; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 缩略图最大宽度
|
||||
/// </summary>
|
||||
public int ThumMaxWidth
|
||||
{
|
||||
set { _thummaxwidth = value; }
|
||||
get { return _thummaxwidth; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 缩略图最大高度
|
||||
/// </summary>
|
||||
public int ThumMaxHeight
|
||||
{
|
||||
set { _thummaxheight = value; }
|
||||
get { return _thummaxheight; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 是否开启图片加水印
|
||||
/// </summary>
|
||||
public int IsWaterMark
|
||||
{
|
||||
set { _iswatermark = value; }
|
||||
get { return _iswatermark; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 水印类型,0文字,1 GIF,2 JPG ,3 PNG
|
||||
/// </summary>
|
||||
public int WaterMarkType
|
||||
{
|
||||
set { _watermarktype = value; }
|
||||
get { return _watermarktype; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 打水印最小宽度
|
||||
/// </summary>
|
||||
public int WaterMarkMinWidth
|
||||
{
|
||||
set { _watermarkminwidth = value; }
|
||||
get { return _watermarkminwidth; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 打水印最小高度
|
||||
/// </summary>
|
||||
public int WaterMarkMinHeight
|
||||
{
|
||||
set { _watermarkminheight = value; }
|
||||
get { return _watermarkminheight; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 水印图片
|
||||
/// </summary>
|
||||
public string WaterMarkImg
|
||||
{
|
||||
set { _watermarkimg = value; }
|
||||
get { return _watermarkimg; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 文字水印文字
|
||||
/// </summary>
|
||||
public string WaterMarkText
|
||||
{
|
||||
set { _watermarktext = value; }
|
||||
get { return _watermarktext; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 水印文字颜色
|
||||
/// </summary>
|
||||
public string WaterMarkTextColor
|
||||
{
|
||||
set { _watermarktextcolor = value; }
|
||||
get { return _watermarktextcolor; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 水印位置:0~9
|
||||
/// </summary>
|
||||
public int WaterMarkPlace
|
||||
{
|
||||
set { _watermarkplace = value; }
|
||||
get { return _watermarkplace; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 水印后图片质量 0-100
|
||||
/// </summary>
|
||||
public int WaterMarkQty
|
||||
{
|
||||
set { _watermarkqty = value; }
|
||||
get { return _watermarkqty; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 水印图片透明度 0-100
|
||||
/// </summary>
|
||||
public int WaterMarkDiaphaneity
|
||||
{
|
||||
set { _watermarkdiaphaneity = value; }
|
||||
get { return _watermarkdiaphaneity; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 是否随机命名上传文件名
|
||||
/// </summary>
|
||||
public int IsRandomFileName { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 图片最大宽度
|
||||
/// </summary>
|
||||
public int ImgMaxWidth { get; set; } = 1920;
|
||||
/// <summary>
|
||||
/// 图片最大高度
|
||||
/// </summary>
|
||||
public int ImgMaxHeight { get; set; } = 2000;
|
||||
|
||||
#endregion Model
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Web;
|
||||
using Newtonsoft.Json;
|
||||
using COMCMS.Common;
|
||||
|
||||
namespace COMCMS.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// 系统JSON提示实体类
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class JsonTip
|
||||
{
|
||||
public JsonTip() { }
|
||||
/// <summary>
|
||||
/// 成功状态
|
||||
/// </summary>
|
||||
public static readonly string SUCCESS = "success";
|
||||
/// <summary>
|
||||
/// 失败状态
|
||||
/// </summary>
|
||||
public static readonly string ERROR = "error";
|
||||
/// <summary>
|
||||
/// 请求返回状态 默认 error(错误);成功:success
|
||||
/// </summary>
|
||||
public string Status { get; set; } = ERROR;
|
||||
/// <summary>
|
||||
/// 提示信息
|
||||
/// </summary>
|
||||
public string Message { get; set; }
|
||||
/// <summary>
|
||||
/// 其他信息
|
||||
/// </summary>
|
||||
public string Other { get; set; }
|
||||
/// <summary>
|
||||
/// Id 可选
|
||||
/// </summary>
|
||||
public int Id { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 返回URL
|
||||
/// </summary>
|
||||
public string ReturnUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 获取JSON字符串
|
||||
/// </summary>
|
||||
/// <param name="json">JsonTip实体类</param>
|
||||
/// <returns></returns>
|
||||
public static string GetJsonString(JsonTip json)
|
||||
{
|
||||
if (json != null)
|
||||
return JsonConvert.SerializeObject(json);
|
||||
else
|
||||
return string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace COMCMS.Core.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// STMP配置
|
||||
/// </summary>
|
||||
public class SMTPConfigEntity
|
||||
{
|
||||
public SMTPConfigEntity()
|
||||
{ }
|
||||
#region Model
|
||||
private string _smtpemail = string.Empty;
|
||||
private string _smtphost = string.Empty;
|
||||
private string _smtpprot = "25";
|
||||
private string _smtpemailpwd = string.Empty;
|
||||
private string _postusername = string.Empty;
|
||||
|
||||
private int _siteid = 0;
|
||||
/// <summary>
|
||||
/// 网站ID
|
||||
/// </summary>
|
||||
public int SiteId
|
||||
{
|
||||
get { return _siteid; }
|
||||
set { _siteid = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// SMTP Email 帐号
|
||||
/// </summary>
|
||||
public string SmtpEmail
|
||||
{
|
||||
set { _smtpemail = value; }
|
||||
get { return _smtpemail; }
|
||||
}
|
||||
/// <summary>
|
||||
/// SMTP 服务器
|
||||
/// </summary>
|
||||
public string SmtpHost
|
||||
{
|
||||
set { _smtphost = value; }
|
||||
get { return _smtphost; }
|
||||
}
|
||||
/// <summary>
|
||||
/// SMTP 服务器端口
|
||||
/// </summary>
|
||||
public string SmtpProt
|
||||
{
|
||||
set { _smtpprot = value; }
|
||||
get { return _smtpprot; }
|
||||
}
|
||||
/// <summary>
|
||||
/// SMTP Email 密码
|
||||
/// </summary>
|
||||
public string SmtpEmailPwd
|
||||
{
|
||||
set { _smtpemailpwd = value; }
|
||||
get { return _smtpemailpwd; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 发信人
|
||||
/// </summary>
|
||||
public string PostUserName
|
||||
{
|
||||
set { _postusername = value; }
|
||||
get { return _postusername; }
|
||||
}
|
||||
#endregion Model
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,155 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace COMCMS.Core.Models
|
||||
{
|
||||
public class ShoppingCartDetail
|
||||
{
|
||||
#region Model
|
||||
private int _pid = 0;
|
||||
private int _qty = 0;
|
||||
private decimal _price = 0;
|
||||
private decimal _marketprice = 0;
|
||||
private string _itemimg;
|
||||
private int _tid = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 商品ID
|
||||
/// </summary>
|
||||
public int PId
|
||||
{
|
||||
set { _pid = value; }
|
||||
get { return _pid; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 商品名称
|
||||
/// </summary>
|
||||
public string Title
|
||||
{
|
||||
set;
|
||||
get;
|
||||
}
|
||||
/// <summary>
|
||||
/// 商品数量
|
||||
/// </summary>
|
||||
public int Qty
|
||||
{
|
||||
set { _qty = value; }
|
||||
get { return _qty; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 商品号
|
||||
/// </summary>
|
||||
public string ItemNO
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 商品价格
|
||||
/// </summary>
|
||||
public decimal Price
|
||||
{
|
||||
set { _price = value; }
|
||||
get { return _price; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 商品市场价格
|
||||
/// </summary>
|
||||
public decimal MarketPrice
|
||||
{
|
||||
set { _marketprice = value; }
|
||||
get { return _marketprice; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 商品图片
|
||||
/// </summary>
|
||||
public string Pic
|
||||
{
|
||||
set { _itemimg = value; }
|
||||
get { return _itemimg; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 规格尺寸
|
||||
/// </summary>
|
||||
public string Spec
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 商品颜色
|
||||
/// </summary>
|
||||
public string Color
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
/// <summary>
|
||||
/// 其他属性,备用
|
||||
/// </summary>
|
||||
public string Attr
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
private decimal _tax = 0M;
|
||||
/// <summary>
|
||||
/// 税
|
||||
/// </summary>
|
||||
public decimal Tax
|
||||
{
|
||||
get { return _tax; }
|
||||
set { _tax = value; }
|
||||
}
|
||||
private int _credit = 0;
|
||||
/// <summary>
|
||||
/// 积分
|
||||
/// </summary>
|
||||
public int Credit
|
||||
{
|
||||
get { return _credit; }
|
||||
set { _credit = value; }
|
||||
}
|
||||
|
||||
private int _Available = 0;
|
||||
/// <summary>
|
||||
/// 是否可用(可用才会真正结算)
|
||||
/// </summary>
|
||||
public int IAvailable
|
||||
{
|
||||
get { return _Available; }
|
||||
set { _Available = value; }
|
||||
}
|
||||
private int _shopid = 0;
|
||||
/// <summary>
|
||||
/// 商家ID,0为平台
|
||||
/// </summary>
|
||||
public int ShopId
|
||||
{
|
||||
get { return _shopid; }
|
||||
set { _shopid = value; }
|
||||
}
|
||||
private int _priceid = 0;
|
||||
/// <summary>
|
||||
/// 价格ID
|
||||
/// </summary>
|
||||
public int PriceId
|
||||
{
|
||||
get { return _priceid; }
|
||||
set { _priceid = value; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 类别ID,Utils.MyType
|
||||
/// </summary>
|
||||
public int TId
|
||||
{
|
||||
set { _tid = value; }
|
||||
get { return _tid; }
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user