37 lines
766 B
C#
37 lines
766 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Grant.Framework
|
|
{
|
|
public class GrantInfo
|
|
{
|
|
/// <summary>
|
|
/// 软件标题
|
|
/// </summary>
|
|
public string Title { get; set; }
|
|
|
|
/// <summary>
|
|
/// 软件主图
|
|
/// </summary>
|
|
public string Pict { get; set; }
|
|
|
|
/// <summary>
|
|
/// 付款链接
|
|
/// </summary>
|
|
public string PayURL { get; set; }
|
|
|
|
public Image GetImage()
|
|
{
|
|
if (!string.IsNullOrEmpty(Pict))
|
|
{
|
|
return CsharpHttpHelper.HttpExtend.ToImage(Pict);
|
|
}
|
|
return null;
|
|
}
|
|
}
|
|
}
|