package com.qiwuai.garden.pojo; import lombok.Data; import java.math.BigDecimal; @Data public class PlantPojo { /** * 植物id */ private Integer id; /** * 名称 */ private String name; /** * 植物别名 */ private String alias; /** * 植物描述 */ private String description; /** * 植物种类id:花草,蔬菜,果树 */ private Integer plantTypeId; /** * 植物属性id */ private Integer attributeId; /** * 植物占用面积 */ private Integer occupyArea; /** * 所需苗圃等级(需要高于该等级),非空 */ private Integer nurseryLevel; /** * 所需苗圃类型id,可配置多个,如1,2,可以不用配置 */ private String nurseryId; /** * 所需园丁等级,园丁当前等级低于配置等级时无法种植 */ private Integer gardenerLevel; /** * 所需园丁技能 */ private Integer gardenerSkillId; /** * 所需临近植物id:1001|1003,可以不用配置 */ private String nearPlantIds; /** * 所需宠物id,可以不用配置 */ private Integer petId; /** * 种植时消耗物品id和数量:1003/100,1567/20,可以不用配置 */ private String costItemNums; /** * 对应果实id即果实物品id */ private Integer fruitId; /** * 收获的果实数量 */ private Integer fruitNum; /** * 果实对应种子数量 */ private Integer fruitSeedNum; /** * 植物结果次数 */ private Integer fruitTimes; /** * 成熟时间 */ private Long fruitMatureTime; /** * 掉落物品id集合:1|3 */ private String dropItems; /** * 掉落物品数量范围集合:1|5;2|10 */ private String dropNums; /** * 物品掉落概率集合:0.25|0.65 */ private String dropProbs; /** * 附加/掉落物品母集id */ private Integer addItemSetId; /** * 稀有度id:1-normal, 2-rare, 3-superRare, 4-legend, 5-myth */ private Integer rarityId; /** * 价格 */ private Integer price; /** * 发芽条件:plantId */ private Long spoutCondition; /** * 结果条件:animalId */ private Long fruitCondition; /** * 成熟条件:苗圃等级 */ private Integer matureCondition; /** * 创建时间 */ private String createTime; /** * 修改时间 */ private String updateTime; }