You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
572 B
20 lines
572 B
using System; |
|
using MongoDB.Bson.Serialization.Attributes; |
|
|
|
namespace ET |
|
{ |
|
public class Farmland: Entity, IAwake,IUpdate, IDestroy,ISerializeToEntity |
|
{ |
|
public int SeedCfgId; //农作物configid |
|
public int Duration; //种植时间 |
|
public int ExProduct; //额外产量 |
|
public int FarmlandState; //农田状态 |
|
public int PlanSeedCfgId; //计划种植的东西 |
|
public int ConfigId; |
|
|
|
[BsonIgnore] |
|
public CropConfig Config =>CropConfigCategory.Instance.Get(this.ConfigId); |
|
|
|
|
|
} |
|
} |