using System; namespace JiaZhiQuan.Common.Models.GrowModel { public class GrowthRepositoryModel { public enum PrizeType { point = 0, medal = 1, /// /// 虚拟商品 /// virtualGoods = 2, /// /// 实体商品 /// normalGoods = 3 } public enum PrizeStatus { rewarding = 0, //待领取 rewarded = 1, //已领取 expired = 2, //已过期 outOfStock = 3 //缺货 } public class UserGrow { public long id { get; set; } public int growLevel { get; set; } public int growNowExperience { get; set; } public int growSumExperience { get; set; } } public class GrowLevel { public int id { get; set; } public string code { get; set; } public int level { get; set; } public int experience { get; set; } public int startToNowExperience { get; set; } } public class LevelPrize { public int id { get; set; } public string levelCode { get; set; } public int type { get; set; } public string name { get; set; } public string image { get; set; } public long prizeId { get; set; } public int points { get; set; } public int expirationDays { get; set; } public int displayOrder { get; set; } } public class UserLevelLog { public string code { get; set; } public int versionId { get; set; } public long userId { get; set; } public int levelId { get; set; } public int level { get; set; } public int levelUpNeedExperience { get; set; } public int nowLevelSumExperience { get; set; } public int nowExperience { get; set; } public int pushStatus { get; set; } = 0; } public class UserLevelPrizeLog { public int versionId { get; set; } public long userId { get; set; } public int levelId { get; set; } public int levelPrizeId { get; set; } public string levelLogCode { get; set; } public int level { get; set; } public int status { get; set; } = 0; public DateTime expireTime { get; set; } public int points { get; set; } public int displayOrder { get; set; } public int type { get; set; } public string name { get; set; } public string thumbnails { get; set; } public long prizeId { get; set; } } public class OnceTaskLog { public long userId { get; set; } public DateTime? completeSelfDataTime { get; set; } public DateTime? realNameAuthTime { get; set; } public DateTime? authorAuthTime { get; set; } public DateTime? withdrawalTime { get; set; } public DateTime now { get; set;} } public class UserGradeInfo { public string userId; public int versionId; public int levelId; public int level; //public string levelCode ; public int levelUpNeedExperience; public int levelStart; public int toNextExp; public int levelExp; } public class UserTaskInfo { public int id; public int versionId; public string groupName; public string taskName; //public string levelCode ; public string groupCode; /// /// 组排序 /// public int gOrder; /// /// 任务排序 /// public int tOrder; /// /// 任务事件id /// public int taskEventId; /// /// 每日任务完成次数 /// public int taskCompleteNeedCount; /// /// 任务缩略图 /// public string thumbnails; /// /// 任务描述 /// public string desc; /// /// 任务完成可加的经验值 /// public int experience; /// /// 任务类型(0:一次性任务 1:每日任务) /// public int type; /// /// 任务事件编码 /// public string eventCode; /// /// 事件名称 /// public string eventName; /// /// 事件路由 /// public string route; /// /// 任务完成状态(0:未完成 1:已完成 /// public int completeState; /// /// 是否展示(0:不展示 1:展示) /// public int needShow; } public class EquityInfo { public long prizeOrderId; public long userId; public int levelId; public int level; public int status; public DateTime? expireTime; public long? orderId; public long prizeId; public int points; public int type; public string name; public long levelPrizeId; public string thumbnails; } } }