升级自定义交易组件常用商品接口,spu接口,品牌接口,订单接口,物流接口。

This commit is contained in:
大灰灰
2022-06-30 22:42:19 +08:00
parent 43a691d1be
commit dc408b8596
27 changed files with 1070 additions and 667 deletions

View File

@@ -25,200 +25,157 @@ namespace CoreCms.Net.Model.Entities
public WeChatTransactionComponentGood()
{
}
/// <summary>
/// 序列
/// </summary>
[Display(Name = "序列")]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
public System.Int32 id { get; set; }
/// <summary>
/// 交易组件平台内部商品ID
/// </summary>
[Display(Name = "交易组件平台内部商品ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int64 productId { get; set; }
public System.Int64 productId { get; set; }
/// <summary>
/// 交易组件创建时间
/// </summary>
[Display(Name = "交易组件创建时间")]
public System.DateTime? createTime { get; set; }
public System.DateTime? createTime { get; set; }
/// <summary>
/// 商品序列
/// </summary>
[Display(Name = "商品序列")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String outProductId { get; set; }
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
public System.String outProductId { get; set; }
/// <summary>
/// 商品标题
/// </summary>
[Display(Name = "商品标题")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
public System.String title { get; set; }
[StringLength(maximumLength: 255, ErrorMessage = "{0}不能超过{1}字")]
public System.String title { get; set; }
/// <summary>
/// 小程序路径
/// </summary>
[Display(Name = "小程序路径")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:255,ErrorMessage = "{0}不能超过{1}字")]
public System.String path { get; set; }
[StringLength(maximumLength: 255, ErrorMessage = "{0}不能超过{1}字")]
public System.String path { get; set; }
/// <summary>
/// 主图列表
/// </summary>
[Display(Name = "主图列表")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String headImg { get; set; }
[StringLength(maximumLength: 500, ErrorMessage = "{0}不能超过{1}字")]
public System.String headImg { get; set; }
/// <summary>
/// 商品资质图片列表
/// </summary>
[Display(Name = "商品资质图片列表")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String qualificationPics { get; set; }
[StringLength(maximumLength: 500, ErrorMessage = "{0}不能超过{1}字")]
public System.String qualificationPics { get; set; }
/// <summary>
/// 商品详情图文
/// </summary>
[Display(Name = "商品详情图文")]
public System.String descInfoDesc { get; set; }
public System.String descInfoDesc { get; set; }
/// <summary>
/// 商品详情图片列表
/// </summary>
[Display(Name = "商品详情图片列表")]
[StringLength(maximumLength:500,ErrorMessage = "{0}不能超过{1}字")]
public System.String descInfoImgs { get; set; }
[StringLength(maximumLength: 500, ErrorMessage = "{0}不能超过{1}字")]
public System.String descInfoImgs { get; set; }
/// <summary>
/// 三级类目ID
/// </summary>
[Display(Name = "三级类目ID")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 thirdCatId { get; set; }
public System.Int32 thirdCatId { get; set; }
/// <summary>
/// 三级类目名称
/// </summary>
[Display(Name = "三级类目名称")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String thirdCatName { get; set; }
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
public System.String thirdCatName { get; set; }
/// <summary>
/// 品牌id
/// </summary>
[Display(Name = "品牌id")]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 brandId { get; set; }
public System.Int32 brandId { get; set; }
/// <summary>
/// 预留字段
/// </summary>
[Display(Name = "预留字段")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String infoVersion { get; set; }
[StringLength(maximumLength: 50, ErrorMessage = "{0}不能超过{1}字")]
public System.String infoVersion { get; set; }
/// <summary>
/// 最后提交时间
/// </summary>
[Display(Name = "最后提交时间")]
public System.DateTime? lastPostTime { get; set; }
public System.DateTime? lastPostTime { get; set; }
/// <summary>
/// 最后更新时间
/// </summary>
[Display(Name = "最后更新时间")]
public System.DateTime? updateTime { get; set; }
public System.DateTime? updateTime { get; set; }
}
}
}

View File

@@ -4,7 +4,7 @@
* Web: https://www.corecms.net
* Author: 大灰灰
* Email: jianweie@163.com
* CreateTime: 2021/7/10 23:44:16
* CreateTime: 2022/6/30 12:28:17
* Description: 暂无
***********************************************************************/
@@ -88,5 +88,17 @@ namespace CoreCms.Net.Model.Entities
public System.DateTime createTime { get; set; }
/// <summary>
/// 支付单序列
/// </summary>
[Display(Name = "支付单序列")]
[StringLength(maximumLength:50,ErrorMessage = "{0}不能超过{1}字")]
public System.String paymentId { get; set; }
}
}