44 lines
1020 B
C#
44 lines
1020 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Common.Utils;
|
|
using CommonDomain.Enum;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
using MongoRepository;
|
|
using MongoRepository.Attributes;
|
|
using MongoRepository.Config;
|
|
|
|
namespace UserDomain.Entity
|
|
{
|
|
[BsonCollection("kill_fish_log{yyyyMMdd}", ServiceDatabases.Fish)]
|
|
[BsonIgnoreExtraElements]
|
|
public class KillFishLog : MongoBaseEntity
|
|
{
|
|
public string UserId { get; set; }
|
|
|
|
public GameTypeEnum GameType { get; set; } = GameTypeEnum.风雷之渊;
|
|
|
|
public int RoomLevel { get; set; } = 0;
|
|
|
|
public int RoomPartition { get; set; } = 0;
|
|
|
|
public int RoomNumber { get; set; } = 0;
|
|
|
|
|
|
public string FishNumber { get; set; }
|
|
|
|
|
|
public int Cost { get; set; }
|
|
|
|
|
|
public double Income { get; set; }
|
|
public double Factor { get; set; }
|
|
public long CreateTime { get; set; } = DateTime.Now.ToTimeStamp();
|
|
|
|
|
|
|
|
}
|
|
}
|