156 lines
2.9 KiB
Java
156 lines
2.9 KiB
Java
package com.hivekion.scenario.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import java.io.Serializable;
|
|
import java.math.BigDecimal;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
/**
|
|
* <p>
|
|
* 战斗消耗
|
|
* </p>
|
|
*
|
|
* @author liDongYu
|
|
* @since 2025-09-19
|
|
*/
|
|
@TableName("TBL_BATTLE_CONSUME")
|
|
@ApiModel(value = "BattleConsume对象", description = "战斗消耗")
|
|
public class BattleConsume implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@ApiModelProperty("物理主键")
|
|
private String id;
|
|
|
|
@ApiModelProperty("资源编号")
|
|
@TableField(value = "resource_id")
|
|
private String resourceId;
|
|
|
|
private Double ammunition;
|
|
|
|
private Integer death;
|
|
|
|
private Integer injured;
|
|
|
|
private Double fuel;
|
|
|
|
private Double food;
|
|
|
|
private Double water;
|
|
|
|
private Double medical;
|
|
|
|
private String lat;
|
|
|
|
private String lng;
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getResourceId() {
|
|
return resourceId;
|
|
}
|
|
|
|
public void setResourceId(String resourceId) {
|
|
this.resourceId = resourceId;
|
|
}
|
|
|
|
|
|
|
|
public Integer getDeath() {
|
|
return death;
|
|
}
|
|
|
|
public void setDeath(Integer death) {
|
|
this.death = death;
|
|
}
|
|
|
|
public Integer getInjured() {
|
|
return injured;
|
|
}
|
|
|
|
public void setInjured(Integer injured) {
|
|
this.injured = injured;
|
|
}
|
|
|
|
public Double getAmmunition() {
|
|
return ammunition;
|
|
}
|
|
|
|
public void setAmmunition(Double ammunition) {
|
|
this.ammunition = ammunition;
|
|
}
|
|
|
|
public Double getFuel() {
|
|
return fuel;
|
|
}
|
|
|
|
public void setFuel(Double fuel) {
|
|
this.fuel = fuel;
|
|
}
|
|
|
|
public Double getFood() {
|
|
return food;
|
|
}
|
|
|
|
public void setFood(Double food) {
|
|
this.food = food;
|
|
}
|
|
|
|
public Double getWater() {
|
|
return water;
|
|
}
|
|
|
|
public void setWater(Double water) {
|
|
this.water = water;
|
|
}
|
|
|
|
public Double getMedical() {
|
|
return medical;
|
|
}
|
|
|
|
public void setMedical(Double medical) {
|
|
this.medical = medical;
|
|
}
|
|
|
|
public String getLat() {
|
|
return lat;
|
|
}
|
|
|
|
public void setLat(String lat) {
|
|
this.lat = lat;
|
|
}
|
|
|
|
public String getLng() {
|
|
return lng;
|
|
}
|
|
|
|
public void setLng(String lng) {
|
|
this.lng = lng;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "BattleConsume{" +
|
|
"id = " + id +
|
|
", resourceId = " + resourceId +
|
|
", ammunition = " + ammunition +
|
|
", death = " + death +
|
|
", injured = " + injured +
|
|
", fuel = " + fuel +
|
|
", food = " + food +
|
|
", water = " + water +
|
|
", medical = " + medical +
|
|
", lat = " + lat +
|
|
", lng = " + lng +
|
|
"}";
|
|
}
|
|
}
|