/*********************************************************************** * Project: CoreCms * ProjectName: 核心内容管理系统 * Web: https://www.corecms.net * Author: 大灰灰 * Email: jianweie@163.com * CreateTime: 2021/1/31 21:45:10 * Description: 暂无 ***********************************************************************/ using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using SqlSugar; namespace CoreCms.Net.Model.Entities { /// /// 拼团记录 /// public partial class CoreCmsPinTuanRecord { /// /// 用户头像 /// [Display(Name = "用户头像")] [SugarColumn(IsIgnore = true)] public string userAvatar { get; set; } /// /// 昵称 /// [Display(Name = "昵称")] [SugarColumn(IsIgnore = true)] public string nickName { get; set; } /// /// 参与队员信息 /// [Display(Name = "参与队员信息")] [SugarColumn(IsIgnore = true)] public List teams { get; set; } /// /// 参与数量 /// [Display(Name = "参与数量")] [SugarColumn(IsIgnore = true)] public int teamNums { get; set; } /// /// 参与人数计算 /// [Display(Name = "参与人数计算")] [SugarColumn(IsIgnore = true)] public int peopleNumber { get; set; } = 0; /// /// 剩余时间 /// [Display(Name = "剩余时间")] [SugarColumn(IsIgnore = true)] public int lastTime { get; set; } /// /// 剩余时间 /// [Display(Name = "剩余时间")] [SugarColumn(IsIgnore = true)] public bool isOverdue { get; set; } = false; /// /// 活动名称 /// [Display(Name = "活动名称")] [SugarColumn(IsIgnore = true)] public string ruleName { get; set; } /// /// 商品名称 /// [Display(Name = "商品名称")] [SugarColumn(IsIgnore = true)] public string goodName { get; set; } } public class PinTuanRecordTeam { /// /// 用户头像 /// [Display(Name = "用户头像")] [SugarColumn(IsIgnore = true)] public string userAvatar { get; set; } /// /// 昵称 /// [Display(Name = "昵称")] [SugarColumn(IsIgnore = true)] public string nickName { get; set; } /// /// 记录编号 /// [Display(Name = "记录编号")] [SugarColumn(IsIgnore = true)] public int recordId { get; set; } = 0; /// /// 拼团队伍编号 /// [Display(Name = "拼团队伍编号")] [SugarColumn(IsIgnore = true)] public int teamId { get; set; } = 0; /// /// 用户编号 /// [Display(Name = "用户编号")] [SugarColumn(IsIgnore = true)] public int userId { get; set; } = 0; } }