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.

24 lines
649 B

3 years ago
using System;
using MongoDB.Bson.Serialization.Attributes;
namespace ET
{
public class Farmland: Entity, IAwake,IUpdate, IDestroy,ISerializeToEntity
{
3 years ago
public int CropCfgId; //农作物configid
3 years ago
public int Duration; //种植时间
public int ExProduct; //额外产量
public int FarmlandState; //农田状态
3 years ago
public int PlanCropCfgId; //计划种植的东西
public long PeopleId; //农民id
public long CabinId; //小屋id
3 years ago
[BsonIgnore]
3 years ago
public CropConfig Config =>CropConfigCategory.Instance.Get(this.CropCfgId);
3 years ago
}
}