package com.qiwuai.garden.dto.request; import lombok.Data; import java.math.BigDecimal; @Data public class PlantConfigReq { /** * 植物id */ private Long id; /** * 名称 */ private String name; /** * 植物描述 */ private String description; /** * 植物种类id:花草,蔬菜,果树 */ private Integer plantTypeId; /** * 植物属性id */ private Integer plantAttributeId; /** * 植物占用面积 */ private BigDecimal occupyArea; /** * 所需苗圃等级,非空 */ private Integer nurseryLevel; /** * 所需苗圃类型id,可以不用配置 */ private Integer nurseryId; /** * 所需园丁等级,园丁当前等级低于配置等级时无法种植 */ private Integer gardenerLevel; /** * 所需园丁技能 */ private Integer gardenerSkillId; /** * 所需临近植物id,可以不用配置 */ private Integer nearPlantIds; /** * 所需宠物id,可以不用配置 */ private Integer petId; /** * 种植时消耗物品id和数量:1003/100,1567/20,可以不用配置 */ private Integer costItemNum; /** * 对应果实id即果实物品id */ private Integer fruitId; /** * 收获的果实数量 */ private Integer fruitNum; /** * 植物结果次数 */ private Integer fruitTimes; /** * 成熟时间 */ private String fruitMatureTime; /** * 附加/掉落物品母集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; }