32 lines
810 B
C#
32 lines
810 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using CommonDomain.BaseModel;
|
|
using CommonDomain.Enum;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
using MongoRepository;
|
|
using MongoRepository.Attributes;
|
|
|
|
namespace CommonDomain
|
|
{
|
|
[BsonCollection("game_task", "data_0524")]
|
|
[BsonIgnoreExtraElements]
|
|
public class GameTask : MongoBaseEntity
|
|
{
|
|
|
|
public int State { get; set; } = 1;
|
|
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 long Exp { get; set; }
|
|
}
|
|
}
|