添加项目文件。
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using CommonDomain.BaseModel;
|
||||
using CommonDomain.Enum;
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using MongoRepository;
|
||||
using MongoRepository.Attributes;
|
||||
using MongoRepository.Config;
|
||||
using UserDomain.Enum;
|
||||
|
||||
namespace UserDomain.Entity
|
||||
{
|
||||
[BsonCollection("user_task", ServiceDatabases.User)]
|
||||
[BsonIgnoreExtraElements]
|
||||
public class UserTask : MongoBaseEntity
|
||||
{
|
||||
public string UserId { get; set; }
|
||||
public string Number { get; set; }
|
||||
public string Remark { get; set; }
|
||||
public TaskType TaskType { get; set; }
|
||||
public TaskEvent TaskEvent { get; set; }
|
||||
public int TaskCount { get; set; }
|
||||
public double Count { get; set; }
|
||||
|
||||
public bool IsFinish { get; set; }=false;
|
||||
|
||||
public string OtherId { get; set; }
|
||||
|
||||
public bool IsGet { get; set; }=false;
|
||||
|
||||
public long TaskAddTime { get; set; }
|
||||
public long TaskEndTime { get; set; }=0;
|
||||
|
||||
|
||||
public long TaskFinishTime { get; set; } = 0;
|
||||
|
||||
|
||||
public long Exp { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user