作者 钟来

生成所有业务接口

要显示太多修改。

为保证性能只显示 15 of 15+ 个文件。

... ... @@ -28,5 +28,9 @@
<groupId>com.zhonglai.luhui</groupId>
<artifactId>ruoyi-common</artifactId>
</dependency>
<dependency>
<groupId>com.zhonglai.luhui</groupId>
<artifactId>lh-domain</artifactId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
... ...
package com.zhonglai.luhui.dao.dto;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.StringUtils;
import com.zhonglai.luhui.dao.sql.MyBaseEntity;
... ... @@ -109,6 +110,11 @@ public class PublicSQL {
values.append( ",");
}
stringBuffer.append( "`"+Sqlutil.toUnderScoreCase(field.getName())+"`");
if (field.isAnnotationPresent(JsonFormat.class) && value instanceof Date)
{
JsonFormat jsonFormat = field.getAnnotation(JsonFormat.class);
value = DateUtils.parseDateToStr(jsonFormat.pattern(), (Date) value);
}
values.append( "'"+ escapeSql(value+"")+"'");
}
} catch (NoSuchMethodException e) {
... ... @@ -172,6 +178,11 @@ public class PublicSQL {
values += ",";
}
sql.append("`"+Sqlutil.toUnderScoreCase(field.getName())+"`");
if (field.isAnnotationPresent(JsonFormat.class) && value instanceof Date)
{
JsonFormat jsonFormat = field.getAnnotation(JsonFormat.class);
value = DateUtils.parseDateToStr(jsonFormat.pattern(), (Date) value);
}
values += "'"+escapeSql(value+"")+"'";
}
} catch (NoSuchMethodException e) {
... ... @@ -236,6 +247,7 @@ public class PublicSQL {
{
sql += ",";
}
sql += "`"+Sqlutil.toUnderScoreCase(field.getName())+"`"+"='"+escapeSql(value+"")+"'";
j++;
... ...
... ... @@ -2,6 +2,7 @@ package com.zhonglai.luhui.dao.service.impl;
import com.alibaba.fastjson2.JSON;
import com.alibaba.fastjson2.JSONObject;
import com.alibaba.fastjson2.JSONReader;
import com.zhonglai.luhui.dao.mapper.PublicMapper;
import com.zhonglai.luhui.dao.service.PublicService;
import org.springframework.beans.factory.annotation.Autowired;
... ... @@ -98,7 +99,7 @@ public class PublicServiceImpl implements PublicService {
return null;
}
return JSONObject.parseObject(JSON.toJSONString(object),clas);
return JSONObject.parseObject(JSON.toJSONString(object),clas, JSONReader.Feature.SupportSmartMatch);
}
/**
... ...
package com.zhonglai.luhui.dao.service.impl;
import com.alibaba.fastjson2.JSONObject;
import com.alibaba.fastjson2.JSONReader;
import com.ruoyi.common.utils.bean.MapToObjectConverter;
import com.zhonglai.luhui.dao.mapper.PublicMapper;
import com.zhonglai.luhui.dao.service.PublicTemplateService;
... ... @@ -22,20 +24,13 @@ public class PublicTemplateServiceImpl implements PublicTemplateService {
public <T> List<T> selectTList(T t) {
List<Map<String,Object>> list = publicMapper.selectTList(t);
List<T> rList = null;
List<T> rList = new ArrayList<>();
if(null != list && list.size() != 0)
{
rList = new ArrayList<T>();
for (Map<String,Object> map:list)
{
T at = null;
try {
at = (T) MapToObjectConverter.convert(map,t.getClass());
} catch (IllegalAccessException e) {
e.printStackTrace();
} catch (InstantiationException e) {
e.printStackTrace();
}
T at = (T) JSONObject.parseObject(JSONObject.toJSONString(map),t.getClass(), JSONReader.Feature.SupportSmartMatch);
rList.add(at);
}
}
... ... @@ -47,14 +42,7 @@ public class PublicTemplateServiceImpl implements PublicTemplateService {
Map<String,Object> object = publicMapper.getObject(clas,"id", String.valueOf(id));
if(null != object)
{
try {
return MapToObjectConverter.convert(object,clas);
} catch (IllegalAccessException e) {
e.printStackTrace();
} catch (InstantiationException e) {
e.printStackTrace();
}
return JSONObject.parseObject(JSONObject.toJSONString(object),clas, JSONReader.Feature.SupportSmartMatch);
}
return null;
}
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.zhonglai.luhui</groupId>
<artifactId>lh-jar</artifactId>
<version>1.0.0</version>
</parent>
<artifactId>lh-domain</artifactId>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<!-- 文档 -->
<dependency>
<groupId>com.github.xiaoymin</groupId>
<artifactId>knife4j-spring-boot-starter</artifactId>
</dependency>
<!-- 常用工具类 -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<!-- JSON工具类 -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>com.zhonglai.luhui</groupId>
<artifactId>lh-common-util</artifactId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
... ...
package com.zhonglai.luhui.domain.cb;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonglai.luhui.common.util.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.zhonglai.luhui.common.util.domain.BaseEntity;
/**
* 标粗结转成本对象 cb_bold_closing_cost
*
* @author zhonglai
* @date 2024-04-24
*/
@ApiModel("标粗结转成本")
public class CbBoldClosingCost extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键ID */
private Integer id;
/** 养殖场 */
@ApiModelProperty(value="养殖场")
@Excel(name = "养殖场")
private String farmName;
/** 养殖造次 */
@ApiModelProperty(value="养殖造次")
@Excel(name = "养殖造次")
private String breedingRound;
/** 养殖区域 */
@ApiModelProperty(value="养殖区域")
@Excel(name = "养殖区域")
private String breedingArea;
/** 塘口/箱号 */
@ApiModelProperty(value="塘口/箱号")
@Excel(name = "塘口/箱号")
private String pondOrBox;
/** 养殖品种 */
@ApiModelProperty(value="养殖品种")
@Excel(name = "养殖品种")
private String breedingSpecies;
/** 分苗日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value="分苗日期")
@Excel(name = "分苗日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date seedlingInfoDate;
/** 分苗数量 */
@ApiModelProperty(value="分苗数量")
@Excel(name = "分苗数量")
private BigDecimal seedlingQuantity;
/** 分苗重量 */
@ApiModelProperty(value="分苗重量")
@Excel(name = "分苗重量")
private BigDecimal seedlingWeight;
/** 分苗规格 */
@ApiModelProperty(value="分苗规格")
@Excel(name = "分苗规格")
private String seedlingSpecification;
/** 变动成本 */
@ApiModelProperty(value="变动成本")
@Excel(name = "变动成本")
private BigDecimal variableCosts;
/** 种苗成本 */
@ApiModelProperty(value="种苗成本")
@Excel(name = "种苗成本")
private BigDecimal seedlingCost;
/** 饲料数量(kg) */
@ApiModelProperty(value="饲料数量(kg)")
@Excel(name = "饲料数量(kg)")
private BigDecimal feedQuantity;
/** 饲料金额 */
@ApiModelProperty(value="饲料金额")
@Excel(name = "饲料金额")
private BigDecimal feedAmount;
/** 动保 */
@ApiModelProperty(value="动保")
@Excel(name = "动保")
private BigDecimal animalHealthProtection;
/** 电费 */
@ApiModelProperty(value="电费")
@Excel(name = "电费")
private BigDecimal electricityFee;
/** 人工 */
@ApiModelProperty(value="人工")
@Excel(name = "人工")
private BigDecimal laborCost;
/** 低值易耗品 */
@ApiModelProperty(value="低值易耗品")
@Excel(name = "低值易耗品")
private BigDecimal consumablesCost;
/** 拉网费 */
@ApiModelProperty(value="拉网费")
@Excel(name = "拉网费")
private BigDecimal nettingFee;
/** 折旧与摊销 */
@ApiModelProperty(value="折旧与摊销")
@Excel(name = "折旧与摊销")
private BigDecimal depreciationAndAmortization;
/** 修理费 */
@ApiModelProperty(value="修理费")
@Excel(name = "修理费")
private BigDecimal repairFee;
/** 燃料费 */
@ApiModelProperty(value="燃料费")
@Excel(name = "燃料费")
private BigDecimal fuelFee;
/** 租赁费 */
@ApiModelProperty(value="租赁费")
@Excel(name = "租赁费")
private BigDecimal leaseFee;
/** 其他公摊 */
@ApiModelProperty(value="其他公摊")
@Excel(name = "其他公摊")
private BigDecimal otherSharedCosts;
/** 定额费用 */
@ApiModelProperty(value="定额费用")
@Excel(name = "定额费用")
private BigDecimal fixedCosts;
/** 网箱折旧费 */
@ApiModelProperty(value="网箱折旧费")
@Excel(name = "网箱折旧费")
private BigDecimal cageDepreciationFee;
/** 网箱管理费 */
@ApiModelProperty(value="网箱管理费")
@Excel(name = "网箱管理费")
private BigDecimal cageManagementFee;
/** 海域费 */
@ApiModelProperty(value="海域费")
@Excel(name = "海域费")
private BigDecimal seaAreaFee;
/** 塘租 */
@ApiModelProperty(value="塘租")
@Excel(name = "塘租")
private BigDecimal pondRent;
/** 合计 */
@ApiModelProperty(value="合计")
@Excel(name = "合计")
private BigDecimal totalCost;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setFarmName(String farmName)
{
this.farmName = farmName;
}
public String getFarmName()
{
return farmName;
}
public void setBreedingRound(String breedingRound)
{
this.breedingRound = breedingRound;
}
public String getBreedingRound()
{
return breedingRound;
}
public void setBreedingArea(String breedingArea)
{
this.breedingArea = breedingArea;
}
public String getBreedingArea()
{
return breedingArea;
}
public void setPondOrBox(String pondOrBox)
{
this.pondOrBox = pondOrBox;
}
public String getPondOrBox()
{
return pondOrBox;
}
public void setBreedingSpecies(String breedingSpecies)
{
this.breedingSpecies = breedingSpecies;
}
public String getBreedingSpecies()
{
return breedingSpecies;
}
public void setSeedlingInfoDate(Date seedlingInfoDate)
{
this.seedlingInfoDate = seedlingInfoDate;
}
public Date getSeedlingInfoDate()
{
return seedlingInfoDate;
}
public void setSeedlingQuantity(BigDecimal seedlingQuantity)
{
this.seedlingQuantity = seedlingQuantity;
}
public BigDecimal getSeedlingQuantity()
{
return seedlingQuantity;
}
public void setSeedlingWeight(BigDecimal seedlingWeight)
{
this.seedlingWeight = seedlingWeight;
}
public BigDecimal getSeedlingWeight()
{
return seedlingWeight;
}
public void setSeedlingSpecification(String seedlingSpecification)
{
this.seedlingSpecification = seedlingSpecification;
}
public String getSeedlingSpecification()
{
return seedlingSpecification;
}
public void setVariableCosts(BigDecimal variableCosts)
{
this.variableCosts = variableCosts;
}
public BigDecimal getVariableCosts()
{
return variableCosts;
}
public void setSeedlingCost(BigDecimal seedlingCost)
{
this.seedlingCost = seedlingCost;
}
public BigDecimal getSeedlingCost()
{
return seedlingCost;
}
public void setFeedQuantity(BigDecimal feedQuantity)
{
this.feedQuantity = feedQuantity;
}
public BigDecimal getFeedQuantity()
{
return feedQuantity;
}
public void setFeedAmount(BigDecimal feedAmount)
{
this.feedAmount = feedAmount;
}
public BigDecimal getFeedAmount()
{
return feedAmount;
}
public void setAnimalHealthProtection(BigDecimal animalHealthProtection)
{
this.animalHealthProtection = animalHealthProtection;
}
public BigDecimal getAnimalHealthProtection()
{
return animalHealthProtection;
}
public void setElectricityFee(BigDecimal electricityFee)
{
this.electricityFee = electricityFee;
}
public BigDecimal getElectricityFee()
{
return electricityFee;
}
public void setLaborCost(BigDecimal laborCost)
{
this.laborCost = laborCost;
}
public BigDecimal getLaborCost()
{
return laborCost;
}
public void setConsumablesCost(BigDecimal consumablesCost)
{
this.consumablesCost = consumablesCost;
}
public BigDecimal getConsumablesCost()
{
return consumablesCost;
}
public void setNettingFee(BigDecimal nettingFee)
{
this.nettingFee = nettingFee;
}
public BigDecimal getNettingFee()
{
return nettingFee;
}
public void setDepreciationAndAmortization(BigDecimal depreciationAndAmortization)
{
this.depreciationAndAmortization = depreciationAndAmortization;
}
public BigDecimal getDepreciationAndAmortization()
{
return depreciationAndAmortization;
}
public void setRepairFee(BigDecimal repairFee)
{
this.repairFee = repairFee;
}
public BigDecimal getRepairFee()
{
return repairFee;
}
public void setFuelFee(BigDecimal fuelFee)
{
this.fuelFee = fuelFee;
}
public BigDecimal getFuelFee()
{
return fuelFee;
}
public void setLeaseFee(BigDecimal leaseFee)
{
this.leaseFee = leaseFee;
}
public BigDecimal getLeaseFee()
{
return leaseFee;
}
public void setOtherSharedCosts(BigDecimal otherSharedCosts)
{
this.otherSharedCosts = otherSharedCosts;
}
public BigDecimal getOtherSharedCosts()
{
return otherSharedCosts;
}
public void setFixedCosts(BigDecimal fixedCosts)
{
this.fixedCosts = fixedCosts;
}
public BigDecimal getFixedCosts()
{
return fixedCosts;
}
public void setCageDepreciationFee(BigDecimal cageDepreciationFee)
{
this.cageDepreciationFee = cageDepreciationFee;
}
public BigDecimal getCageDepreciationFee()
{
return cageDepreciationFee;
}
public void setCageManagementFee(BigDecimal cageManagementFee)
{
this.cageManagementFee = cageManagementFee;
}
public BigDecimal getCageManagementFee()
{
return cageManagementFee;
}
public void setSeaAreaFee(BigDecimal seaAreaFee)
{
this.seaAreaFee = seaAreaFee;
}
public BigDecimal getSeaAreaFee()
{
return seaAreaFee;
}
public void setPondRent(BigDecimal pondRent)
{
this.pondRent = pondRent;
}
public BigDecimal getPondRent()
{
return pondRent;
}
public void setTotalCost(BigDecimal totalCost)
{
this.totalCost = totalCost;
}
public BigDecimal getTotalCost()
{
return totalCost;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("farmName", getFarmName())
.append("breedingRound", getBreedingRound())
.append("breedingArea", getBreedingArea())
.append("pondOrBox", getPondOrBox())
.append("breedingSpecies", getBreedingSpecies())
.append("seedlingInfoDate", getSeedlingInfoDate())
.append("seedlingQuantity", getSeedlingQuantity())
.append("seedlingWeight", getSeedlingWeight())
.append("seedlingSpecification", getSeedlingSpecification())
.append("variableCosts", getVariableCosts())
.append("seedlingCost", getSeedlingCost())
.append("feedQuantity", getFeedQuantity())
.append("feedAmount", getFeedAmount())
.append("animalHealthProtection", getAnimalHealthProtection())
.append("electricityFee", getElectricityFee())
.append("laborCost", getLaborCost())
.append("consumablesCost", getConsumablesCost())
.append("nettingFee", getNettingFee())
.append("depreciationAndAmortization", getDepreciationAndAmortization())
.append("repairFee", getRepairFee())
.append("fuelFee", getFuelFee())
.append("leaseFee", getLeaseFee())
.append("otherSharedCosts", getOtherSharedCosts())
.append("fixedCosts", getFixedCosts())
.append("cageDepreciationFee", getCageDepreciationFee())
.append("cageManagementFee", getCageManagementFee())
.append("seaAreaFee", getSeaAreaFee())
.append("pondRent", getPondRent())
.append("totalCost", getTotalCost())
.toString();
}
}
... ...
package com.zhonglai.luhui.domain.cb;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonglai.luhui.common.util.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.zhonglai.luhui.common.util.domain.BaseEntity;
/**
* 标粗动态成本对象 cb_bold_dynamic_cost
*
* @author zhonglai
* @date 2024-04-24
*/
@ApiModel("标粗动态成本")
public class CbBoldDynamicCost extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键ID */
private Integer id;
/** 养殖场 */
@ApiModelProperty(value="养殖场")
@Excel(name = "养殖场")
private String farmName;
/** 养殖造次 */
@ApiModelProperty(value="养殖造次")
@Excel(name = "养殖造次")
private String breedingRound;
/** 养殖区域 */
@ApiModelProperty(value="养殖区域")
@Excel(name = "养殖区域")
private String breedingArea;
/** 养殖品种 */
@ApiModelProperty(value="养殖品种")
@Excel(name = "养殖品种")
private String breedingSpecies;
/** 放苗批次 */
@ApiModelProperty(value="放苗批次")
@Excel(name = "放苗批次")
private String seedlingBatch;
/** 塘口/箱号 */
@ApiModelProperty(value="塘口/箱号")
@Excel(name = "塘口/箱号")
private String pondOrBox;
/** 日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value="日期")
@Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date date;
/** 变动成本 */
@ApiModelProperty(value="变动成本")
@Excel(name = "变动成本")
private BigDecimal variableCosts;
/** 种苗数量(尾) */
@ApiModelProperty(value="种苗数量(尾)")
@Excel(name = "种苗数量(尾)")
private BigDecimal seedlingQuantity;
/** 种苗成本 */
@ApiModelProperty(value="种苗成本")
@Excel(name = "种苗成本")
private BigDecimal seedlingCost;
/** 饲料数量(kg) */
@ApiModelProperty(value="饲料数量(kg)")
@Excel(name = "饲料数量(kg)")
private BigDecimal feedQuantity;
/** 饲料金额 */
@ApiModelProperty(value="饲料金额")
@Excel(name = "饲料金额")
private BigDecimal feedAmount;
/** 动保 */
@ApiModelProperty(value="动保")
@Excel(name = "动保")
private BigDecimal animalHealthProtection;
/** 电费 */
@ApiModelProperty(value="电费")
@Excel(name = "电费")
private BigDecimal electricityFee;
/** 人工 */
@ApiModelProperty(value="人工")
@Excel(name = "人工")
private BigDecimal laborCost;
/** 低值易耗品 */
@ApiModelProperty(value="低值易耗品")
@Excel(name = "低值易耗品")
private BigDecimal consumablesCost;
/** 拉网费 */
@ApiModelProperty(value="拉网费")
@Excel(name = "拉网费")
private BigDecimal nettingFee;
/** 折旧与摊销 */
@ApiModelProperty(value="折旧与摊销")
@Excel(name = "折旧与摊销")
private BigDecimal depreciationAndAmortization;
/** 修理费 */
@ApiModelProperty(value="修理费")
@Excel(name = "修理费")
private BigDecimal repairFee;
/** 燃料费 */
@ApiModelProperty(value="燃料费")
@Excel(name = "燃料费")
private BigDecimal fuelFee;
/** 租赁费 */
@ApiModelProperty(value="租赁费")
@Excel(name = "租赁费")
private BigDecimal leaseFee;
/** 其他公摊 */
@ApiModelProperty(value="其他公摊")
@Excel(name = "其他公摊")
private BigDecimal otherSharedCosts;
/** 定额费用 */
@ApiModelProperty(value="定额费用")
@Excel(name = "定额费用")
private BigDecimal fixedCosts;
/** 网箱折旧 */
@ApiModelProperty(value="网箱折旧")
@Excel(name = "网箱折旧")
private BigDecimal netCageDepreciation;
/** 网箱管理费 */
@ApiModelProperty(value="网箱管理费")
@Excel(name = "网箱管理费")
private BigDecimal netCageManagementFee;
/** 海域费 */
@ApiModelProperty(value="海域费")
@Excel(name = "海域费")
private BigDecimal seaAreaFee;
/** 塘租 */
@ApiModelProperty(value="塘租")
@Excel(name = "塘租")
private BigDecimal pondRent;
/** 成本合计 */
@ApiModelProperty(value="成本合计")
@Excel(name = "成本合计")
private BigDecimal totalCost;
/** 分箱/塘成本 */
@ApiModelProperty(value="分箱/塘成本")
@Excel(name = "分箱/塘成本")
private BigDecimal costPerBoxOrPond;
/** 损失成本 */
@ApiModelProperty(value="损失成本")
@Excel(name = "损失成本")
private BigDecimal lossCost;
/** 成本总合计 */
@ApiModelProperty(value="成本总合计")
@Excel(name = "成本总合计")
private BigDecimal totalCostSummary;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setFarmName(String farmName)
{
this.farmName = farmName;
}
public String getFarmName()
{
return farmName;
}
public void setBreedingRound(String breedingRound)
{
this.breedingRound = breedingRound;
}
public String getBreedingRound()
{
return breedingRound;
}
public void setBreedingArea(String breedingArea)
{
this.breedingArea = breedingArea;
}
public String getBreedingArea()
{
return breedingArea;
}
public void setBreedingSpecies(String breedingSpecies)
{
this.breedingSpecies = breedingSpecies;
}
public String getBreedingSpecies()
{
return breedingSpecies;
}
public void setSeedlingBatch(String seedlingBatch)
{
this.seedlingBatch = seedlingBatch;
}
public String getSeedlingBatch()
{
return seedlingBatch;
}
public void setPondOrBox(String pondOrBox)
{
this.pondOrBox = pondOrBox;
}
public String getPondOrBox()
{
return pondOrBox;
}
public void setDate(Date date)
{
this.date = date;
}
public Date getDate()
{
return date;
}
public void setVariableCosts(BigDecimal variableCosts)
{
this.variableCosts = variableCosts;
}
public BigDecimal getVariableCosts()
{
return variableCosts;
}
public void setSeedlingQuantity(BigDecimal seedlingQuantity)
{
this.seedlingQuantity = seedlingQuantity;
}
public BigDecimal getSeedlingQuantity()
{
return seedlingQuantity;
}
public void setSeedlingCost(BigDecimal seedlingCost)
{
this.seedlingCost = seedlingCost;
}
public BigDecimal getSeedlingCost()
{
return seedlingCost;
}
public void setFeedQuantity(BigDecimal feedQuantity)
{
this.feedQuantity = feedQuantity;
}
public BigDecimal getFeedQuantity()
{
return feedQuantity;
}
public void setFeedAmount(BigDecimal feedAmount)
{
this.feedAmount = feedAmount;
}
public BigDecimal getFeedAmount()
{
return feedAmount;
}
public void setAnimalHealthProtection(BigDecimal animalHealthProtection)
{
this.animalHealthProtection = animalHealthProtection;
}
public BigDecimal getAnimalHealthProtection()
{
return animalHealthProtection;
}
public void setElectricityFee(BigDecimal electricityFee)
{
this.electricityFee = electricityFee;
}
public BigDecimal getElectricityFee()
{
return electricityFee;
}
public void setLaborCost(BigDecimal laborCost)
{
this.laborCost = laborCost;
}
public BigDecimal getLaborCost()
{
return laborCost;
}
public void setConsumablesCost(BigDecimal consumablesCost)
{
this.consumablesCost = consumablesCost;
}
public BigDecimal getConsumablesCost()
{
return consumablesCost;
}
public void setNettingFee(BigDecimal nettingFee)
{
this.nettingFee = nettingFee;
}
public BigDecimal getNettingFee()
{
return nettingFee;
}
public void setDepreciationAndAmortization(BigDecimal depreciationAndAmortization)
{
this.depreciationAndAmortization = depreciationAndAmortization;
}
public BigDecimal getDepreciationAndAmortization()
{
return depreciationAndAmortization;
}
public void setRepairFee(BigDecimal repairFee)
{
this.repairFee = repairFee;
}
public BigDecimal getRepairFee()
{
return repairFee;
}
public void setFuelFee(BigDecimal fuelFee)
{
this.fuelFee = fuelFee;
}
public BigDecimal getFuelFee()
{
return fuelFee;
}
public void setLeaseFee(BigDecimal leaseFee)
{
this.leaseFee = leaseFee;
}
public BigDecimal getLeaseFee()
{
return leaseFee;
}
public void setOtherSharedCosts(BigDecimal otherSharedCosts)
{
this.otherSharedCosts = otherSharedCosts;
}
public BigDecimal getOtherSharedCosts()
{
return otherSharedCosts;
}
public void setFixedCosts(BigDecimal fixedCosts)
{
this.fixedCosts = fixedCosts;
}
public BigDecimal getFixedCosts()
{
return fixedCosts;
}
public void setNetCageDepreciation(BigDecimal netCageDepreciation)
{
this.netCageDepreciation = netCageDepreciation;
}
public BigDecimal getNetCageDepreciation()
{
return netCageDepreciation;
}
public void setNetCageManagementFee(BigDecimal netCageManagementFee)
{
this.netCageManagementFee = netCageManagementFee;
}
public BigDecimal getNetCageManagementFee()
{
return netCageManagementFee;
}
public void setSeaAreaFee(BigDecimal seaAreaFee)
{
this.seaAreaFee = seaAreaFee;
}
public BigDecimal getSeaAreaFee()
{
return seaAreaFee;
}
public void setPondRent(BigDecimal pondRent)
{
this.pondRent = pondRent;
}
public BigDecimal getPondRent()
{
return pondRent;
}
public void setTotalCost(BigDecimal totalCost)
{
this.totalCost = totalCost;
}
public BigDecimal getTotalCost()
{
return totalCost;
}
public void setCostPerBoxOrPond(BigDecimal costPerBoxOrPond)
{
this.costPerBoxOrPond = costPerBoxOrPond;
}
public BigDecimal getCostPerBoxOrPond()
{
return costPerBoxOrPond;
}
public void setLossCost(BigDecimal lossCost)
{
this.lossCost = lossCost;
}
public BigDecimal getLossCost()
{
return lossCost;
}
public void setTotalCostSummary(BigDecimal totalCostSummary)
{
this.totalCostSummary = totalCostSummary;
}
public BigDecimal getTotalCostSummary()
{
return totalCostSummary;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("farmName", getFarmName())
.append("breedingRound", getBreedingRound())
.append("breedingArea", getBreedingArea())
.append("breedingSpecies", getBreedingSpecies())
.append("seedlingBatch", getSeedlingBatch())
.append("pondOrBox", getPondOrBox())
.append("date", getDate())
.append("variableCosts", getVariableCosts())
.append("seedlingQuantity", getSeedlingQuantity())
.append("seedlingCost", getSeedlingCost())
.append("feedQuantity", getFeedQuantity())
.append("feedAmount", getFeedAmount())
.append("animalHealthProtection", getAnimalHealthProtection())
.append("electricityFee", getElectricityFee())
.append("laborCost", getLaborCost())
.append("consumablesCost", getConsumablesCost())
.append("nettingFee", getNettingFee())
.append("depreciationAndAmortization", getDepreciationAndAmortization())
.append("repairFee", getRepairFee())
.append("fuelFee", getFuelFee())
.append("leaseFee", getLeaseFee())
.append("otherSharedCosts", getOtherSharedCosts())
.append("fixedCosts", getFixedCosts())
.append("netCageDepreciation", getNetCageDepreciation())
.append("netCageManagementFee", getNetCageManagementFee())
.append("seaAreaFee", getSeaAreaFee())
.append("pondRent", getPondRent())
.append("totalCost", getTotalCost())
.append("costPerBoxOrPond", getCostPerBoxOrPond())
.append("lossCost", getLossCost())
.append("totalCostSummary", getTotalCostSummary())
.toString();
}
}
... ...
package com.zhonglai.luhui.domain.cb;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonglai.luhui.common.util.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.zhonglai.luhui.common.util.domain.BaseEntity;
/**
* 养成动态成本对象 cb_development_dynamic_cost
*
* @author zhonglai
* @date 2024-04-24
*/
@ApiModel("养成动态成本")
public class CbDevelopmentDynamicCost extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键ID */
private Integer id;
/** 养殖场 */
@ApiModelProperty(value="养殖场")
@Excel(name = "养殖场")
private String farmName;
/** 养殖造次 */
@ApiModelProperty(value="养殖造次")
@Excel(name = "养殖造次")
private String breedingRound;
/** 养殖区域 */
@ApiModelProperty(value="养殖区域")
@Excel(name = "养殖区域")
private String breedingArea;
/** 养殖品种 */
@ApiModelProperty(value="养殖品种")
@Excel(name = "养殖品种")
private String breedingSpecies;
/** 塘口/箱号 */
@ApiModelProperty(value="塘口/箱号")
@Excel(name = "塘口/箱号")
private String pondOrBox;
/** 日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value="日期")
@Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date date;
/** 分苗数量 */
@ApiModelProperty(value="分苗数量")
@Excel(name = "分苗数量")
private BigDecimal seedlingQuantity;
/** 分苗重量 */
@ApiModelProperty(value="分苗重量")
@Excel(name = "分苗重量")
private BigDecimal seedlingWeight;
/** 标粗结转成本 */
@ApiModelProperty(value="标粗结转成本")
@Excel(name = "标粗结转成本")
private BigDecimal boldClosingCost;
/** 变动成本 */
@ApiModelProperty(value="变动成本")
@Excel(name = "变动成本")
private BigDecimal variableCosts;
/** 种苗数量(尾) */
@ApiModelProperty(value="种苗数量(尾)")
@Excel(name = "种苗数量(尾)")
private Long seedlingCount;
/** 种苗成本 */
@ApiModelProperty(value="种苗成本")
@Excel(name = "种苗成本")
private BigDecimal seedlingCost;
/** 饲料重量(kg) */
@ApiModelProperty(value="饲料重量(kg)")
@Excel(name = "饲料重量(kg)")
private BigDecimal feedWeight;
/** 饲料金额 */
@ApiModelProperty(value="饲料金额")
@Excel(name = "饲料金额")
private BigDecimal feedAmount;
/** 动保 */
@ApiModelProperty(value="动保")
@Excel(name = "动保")
private BigDecimal animalHealthProtection;
/** 电费 */
@ApiModelProperty(value="电费")
@Excel(name = "电费")
private BigDecimal electricityFee;
/** 人工 */
@ApiModelProperty(value="人工")
@Excel(name = "人工")
private BigDecimal laborCost;
/** 低值易耗品 */
@ApiModelProperty(value="低值易耗品")
@Excel(name = "低值易耗品")
private BigDecimal consumablesCost;
/** 拉网费 */
@ApiModelProperty(value="拉网费")
@Excel(name = "拉网费")
private BigDecimal nettingFee;
/** 折旧与摊销 */
@ApiModelProperty(value="折旧与摊销")
@Excel(name = "折旧与摊销")
private BigDecimal depreciationAndAmortization;
/** 修理费 */
@ApiModelProperty(value="修理费")
@Excel(name = "修理费")
private BigDecimal repairFee;
/** 燃料费 */
@ApiModelProperty(value="燃料费")
@Excel(name = "燃料费")
private BigDecimal fuelFee;
/** 租赁费 */
@ApiModelProperty(value="租赁费")
@Excel(name = "租赁费")
private BigDecimal leaseFee;
/** 其他公摊 */
@ApiModelProperty(value="其他公摊")
@Excel(name = "其他公摊")
private BigDecimal otherSharedCosts;
/** 定额费用 */
@ApiModelProperty(value="定额费用")
@Excel(name = "定额费用")
private BigDecimal fixedCosts;
/** 网箱折旧费 */
@ApiModelProperty(value="网箱折旧费")
@Excel(name = "网箱折旧费")
private BigDecimal cageDepreciationFee;
/** 网箱管理费 */
@ApiModelProperty(value="网箱管理费")
@Excel(name = "网箱管理费")
private BigDecimal cageManagementFee;
/** 海域费 */
@ApiModelProperty(value="海域费")
@Excel(name = "海域费")
private BigDecimal seaAreaFee;
/** 塘租 */
@ApiModelProperty(value="塘租")
@Excel(name = "塘租")
private BigDecimal pondRent;
/** 成本合计 */
@ApiModelProperty(value="成本合计")
@Excel(name = "成本合计")
private BigDecimal costTotal;
/** 移箱/塘数量 */
@ApiModelProperty(value="移箱/塘数量")
@Excel(name = "移箱/塘数量")
private BigDecimal moveBoxOrPondQuantity;
/** 移箱/塘成本 */
@ApiModelProperty(value="移箱/塘成本")
@Excel(name = "移箱/塘成本")
private BigDecimal moveBoxOrPondCost;
/** 损失成本 */
@ApiModelProperty(value="损失成本")
@Excel(name = "损失成本")
private BigDecimal lossCost;
/** 收获结转成本 */
@ApiModelProperty(value="收获结转成本")
@Excel(name = "收获结转成本")
private BigDecimal harvestClosingCost;
/** 成本总合计 */
@ApiModelProperty(value="成本总合计")
@Excel(name = "成本总合计")
private BigDecimal totalCostSummary;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setFarmName(String farmName)
{
this.farmName = farmName;
}
public String getFarmName()
{
return farmName;
}
public void setBreedingRound(String breedingRound)
{
this.breedingRound = breedingRound;
}
public String getBreedingRound()
{
return breedingRound;
}
public void setBreedingArea(String breedingArea)
{
this.breedingArea = breedingArea;
}
public String getBreedingArea()
{
return breedingArea;
}
public void setBreedingSpecies(String breedingSpecies)
{
this.breedingSpecies = breedingSpecies;
}
public String getBreedingSpecies()
{
return breedingSpecies;
}
public void setPondOrBox(String pondOrBox)
{
this.pondOrBox = pondOrBox;
}
public String getPondOrBox()
{
return pondOrBox;
}
public void setDate(Date date)
{
this.date = date;
}
public Date getDate()
{
return date;
}
public void setSeedlingQuantity(BigDecimal seedlingQuantity)
{
this.seedlingQuantity = seedlingQuantity;
}
public BigDecimal getSeedlingQuantity()
{
return seedlingQuantity;
}
public void setSeedlingWeight(BigDecimal seedlingWeight)
{
this.seedlingWeight = seedlingWeight;
}
public BigDecimal getSeedlingWeight()
{
return seedlingWeight;
}
public void setBoldClosingCost(BigDecimal boldClosingCost)
{
this.boldClosingCost = boldClosingCost;
}
public BigDecimal getBoldClosingCost()
{
return boldClosingCost;
}
public void setVariableCosts(BigDecimal variableCosts)
{
this.variableCosts = variableCosts;
}
public BigDecimal getVariableCosts()
{
return variableCosts;
}
public void setSeedlingCount(Long seedlingCount)
{
this.seedlingCount = seedlingCount;
}
public Long getSeedlingCount()
{
return seedlingCount;
}
public void setSeedlingCost(BigDecimal seedlingCost)
{
this.seedlingCost = seedlingCost;
}
public BigDecimal getSeedlingCost()
{
return seedlingCost;
}
public void setFeedWeight(BigDecimal feedWeight)
{
this.feedWeight = feedWeight;
}
public BigDecimal getFeedWeight()
{
return feedWeight;
}
public void setFeedAmount(BigDecimal feedAmount)
{
this.feedAmount = feedAmount;
}
public BigDecimal getFeedAmount()
{
return feedAmount;
}
public void setAnimalHealthProtection(BigDecimal animalHealthProtection)
{
this.animalHealthProtection = animalHealthProtection;
}
public BigDecimal getAnimalHealthProtection()
{
return animalHealthProtection;
}
public void setElectricityFee(BigDecimal electricityFee)
{
this.electricityFee = electricityFee;
}
public BigDecimal getElectricityFee()
{
return electricityFee;
}
public void setLaborCost(BigDecimal laborCost)
{
this.laborCost = laborCost;
}
public BigDecimal getLaborCost()
{
return laborCost;
}
public void setConsumablesCost(BigDecimal consumablesCost)
{
this.consumablesCost = consumablesCost;
}
public BigDecimal getConsumablesCost()
{
return consumablesCost;
}
public void setNettingFee(BigDecimal nettingFee)
{
this.nettingFee = nettingFee;
}
public BigDecimal getNettingFee()
{
return nettingFee;
}
public void setDepreciationAndAmortization(BigDecimal depreciationAndAmortization)
{
this.depreciationAndAmortization = depreciationAndAmortization;
}
public BigDecimal getDepreciationAndAmortization()
{
return depreciationAndAmortization;
}
public void setRepairFee(BigDecimal repairFee)
{
this.repairFee = repairFee;
}
public BigDecimal getRepairFee()
{
return repairFee;
}
public void setFuelFee(BigDecimal fuelFee)
{
this.fuelFee = fuelFee;
}
public BigDecimal getFuelFee()
{
return fuelFee;
}
public void setLeaseFee(BigDecimal leaseFee)
{
this.leaseFee = leaseFee;
}
public BigDecimal getLeaseFee()
{
return leaseFee;
}
public void setOtherSharedCosts(BigDecimal otherSharedCosts)
{
this.otherSharedCosts = otherSharedCosts;
}
public BigDecimal getOtherSharedCosts()
{
return otherSharedCosts;
}
public void setFixedCosts(BigDecimal fixedCosts)
{
this.fixedCosts = fixedCosts;
}
public BigDecimal getFixedCosts()
{
return fixedCosts;
}
public void setCageDepreciationFee(BigDecimal cageDepreciationFee)
{
this.cageDepreciationFee = cageDepreciationFee;
}
public BigDecimal getCageDepreciationFee()
{
return cageDepreciationFee;
}
public void setCageManagementFee(BigDecimal cageManagementFee)
{
this.cageManagementFee = cageManagementFee;
}
public BigDecimal getCageManagementFee()
{
return cageManagementFee;
}
public void setSeaAreaFee(BigDecimal seaAreaFee)
{
this.seaAreaFee = seaAreaFee;
}
public BigDecimal getSeaAreaFee()
{
return seaAreaFee;
}
public void setPondRent(BigDecimal pondRent)
{
this.pondRent = pondRent;
}
public BigDecimal getPondRent()
{
return pondRent;
}
public void setCostTotal(BigDecimal costTotal)
{
this.costTotal = costTotal;
}
public BigDecimal getCostTotal()
{
return costTotal;
}
public void setMoveBoxOrPondQuantity(BigDecimal moveBoxOrPondQuantity)
{
this.moveBoxOrPondQuantity = moveBoxOrPondQuantity;
}
public BigDecimal getMoveBoxOrPondQuantity()
{
return moveBoxOrPondQuantity;
}
public void setMoveBoxOrPondCost(BigDecimal moveBoxOrPondCost)
{
this.moveBoxOrPondCost = moveBoxOrPondCost;
}
public BigDecimal getMoveBoxOrPondCost()
{
return moveBoxOrPondCost;
}
public void setLossCost(BigDecimal lossCost)
{
this.lossCost = lossCost;
}
public BigDecimal getLossCost()
{
return lossCost;
}
public void setHarvestClosingCost(BigDecimal harvestClosingCost)
{
this.harvestClosingCost = harvestClosingCost;
}
public BigDecimal getHarvestClosingCost()
{
return harvestClosingCost;
}
public void setTotalCostSummary(BigDecimal totalCostSummary)
{
this.totalCostSummary = totalCostSummary;
}
public BigDecimal getTotalCostSummary()
{
return totalCostSummary;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("farmName", getFarmName())
.append("breedingRound", getBreedingRound())
.append("breedingArea", getBreedingArea())
.append("breedingSpecies", getBreedingSpecies())
.append("pondOrBox", getPondOrBox())
.append("date", getDate())
.append("seedlingQuantity", getSeedlingQuantity())
.append("seedlingWeight", getSeedlingWeight())
.append("boldClosingCost", getBoldClosingCost())
.append("variableCosts", getVariableCosts())
.append("seedlingCount", getSeedlingCount())
.append("seedlingCost", getSeedlingCost())
.append("feedWeight", getFeedWeight())
.append("feedAmount", getFeedAmount())
.append("animalHealthProtection", getAnimalHealthProtection())
.append("electricityFee", getElectricityFee())
.append("laborCost", getLaborCost())
.append("consumablesCost", getConsumablesCost())
.append("nettingFee", getNettingFee())
.append("depreciationAndAmortization", getDepreciationAndAmortization())
.append("repairFee", getRepairFee())
.append("fuelFee", getFuelFee())
.append("leaseFee", getLeaseFee())
.append("otherSharedCosts", getOtherSharedCosts())
.append("fixedCosts", getFixedCosts())
.append("cageDepreciationFee", getCageDepreciationFee())
.append("cageManagementFee", getCageManagementFee())
.append("seaAreaFee", getSeaAreaFee())
.append("pondRent", getPondRent())
.append("costTotal", getCostTotal())
.append("moveBoxOrPondQuantity", getMoveBoxOrPondQuantity())
.append("moveBoxOrPondCost", getMoveBoxOrPondCost())
.append("lossCost", getLossCost())
.append("harvestClosingCost", getHarvestClosingCost())
.append("totalCostSummary", getTotalCostSummary())
.toString();
}
}
... ...
package com.zhonglai.luhui.domain.cb;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonglai.luhui.common.util.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.zhonglai.luhui.common.util.domain.BaseEntity;
/**
* 养成存塘成本统计对象 cb_development_stock_cost_statistics
*
* @author zhonglai
* @date 2024-04-24
*/
@ApiModel("养成存塘成本统计")
public class CbDevelopmentStockCostStatistics extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键ID */
private Integer id;
/** 养殖场 */
@ApiModelProperty(value="养殖场")
@Excel(name = "养殖场")
private String farmName;
/** 养殖区域 */
@ApiModelProperty(value="养殖区域")
@Excel(name = "养殖区域")
private String breedingArea;
/** 养殖造次 */
@ApiModelProperty(value="养殖造次")
@Excel(name = "养殖造次")
private String breedingRound;
/** 养殖品类 */
@ApiModelProperty(value="养殖品类")
@Excel(name = "养殖品类")
private String breedingCategory;
/** 养殖品种 */
@ApiModelProperty(value="养殖品种")
@Excel(name = "养殖品种")
private String breedingSpecies;
/** 塘口/箱号 */
@ApiModelProperty(value="塘口/箱号")
@Excel(name = "塘口/箱号")
private String pondOrBox;
/** 养殖阶段 */
@ApiModelProperty(value="养殖阶段")
@Excel(name = "养殖阶段")
private String breedingStage;
/** 成本日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value="成本日期")
@Excel(name = "成本日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date costDate;
/** 变动成本 */
@ApiModelProperty(value="变动成本")
@Excel(name = "变动成本")
private BigDecimal variableCosts;
/** 投苗日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value="投苗日期")
@Excel(name = "投苗日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date seedlingDate;
/** 投苗数量(尾) */
@ApiModelProperty(value="投苗数量(尾)")
@Excel(name = "投苗数量(尾)")
private Long seedlingQuantity;
/** 苗成本(元) */
@ApiModelProperty(value="苗成本(元)")
@Excel(name = "苗成本(元)")
private BigDecimal seedlingCost;
/** 饲料数量(kg) */
@ApiModelProperty(value="饲料数量(kg)")
@Excel(name = "饲料数量(kg)")
private BigDecimal feedQuantity;
/** 饲料金额(元) */
@ApiModelProperty(value="饲料金额(元)")
@Excel(name = "饲料金额(元)")
private BigDecimal feedAmount;
/** 动保 */
@ApiModelProperty(value="动保")
@Excel(name = "动保")
private BigDecimal animalHealthProtection;
/** 低值易耗品 */
@ApiModelProperty(value="低值易耗品")
@Excel(name = "低值易耗品")
private BigDecimal consumablesCost;
/** 人工 */
@ApiModelProperty(value="人工")
@Excel(name = "人工")
private BigDecimal laborCost;
/** 电费 */
@ApiModelProperty(value="电费")
@Excel(name = "电费")
private BigDecimal electricityFee;
/** 拉网费 */
@ApiModelProperty(value="拉网费")
@Excel(name = "拉网费")
private BigDecimal nettingFee;
/** 折旧与摊销 */
@ApiModelProperty(value="折旧与摊销")
@Excel(name = "折旧与摊销")
private BigDecimal depreciationAndAmortization;
/** 修理费 */
@ApiModelProperty(value="修理费")
@Excel(name = "修理费")
private BigDecimal repairFee;
/** 燃料费 */
@ApiModelProperty(value="燃料费")
@Excel(name = "燃料费")
private BigDecimal fuelFee;
/** 租赁费 */
@ApiModelProperty(value="租赁费")
@Excel(name = "租赁费")
private BigDecimal leaseFee;
/** 其他公摊费 */
@ApiModelProperty(value="其他公摊费")
@Excel(name = "其他公摊费")
private BigDecimal otherSharedCosts;
/** 定额费用 */
@ApiModelProperty(value="定额费用")
@Excel(name = "定额费用")
private BigDecimal fixedCosts;
/** 网箱折旧费 */
@ApiModelProperty(value="网箱折旧费")
@Excel(name = "网箱折旧费")
private BigDecimal cageDepreciationFee;
/** 网箱管理费 */
@ApiModelProperty(value="网箱管理费")
@Excel(name = "网箱管理费")
private BigDecimal cageManagementFee;
/** 海域费 */
@ApiModelProperty(value="海域费")
@Excel(name = "海域费")
private BigDecimal seaAreaFee;
/** 塘租 */
@ApiModelProperty(value="塘租")
@Excel(name = "塘租")
private BigDecimal pondRent;
/** 成本合计 */
@ApiModelProperty(value="成本合计")
@Excel(name = "成本合计")
private BigDecimal totalCost;
/** 养殖天数 */
@ApiModelProperty(value="养殖天数")
@Excel(name = "养殖天数")
private Integer stockInfoDays;
/** 存塘规格 */
@ApiModelProperty(value="存塘规格")
@Excel(name = "存塘规格")
private String stockSpecification;
/** 存塘数量(尾) */
@ApiModelProperty(value="存塘数量(尾)")
@Excel(name = "存塘数量(尾)")
private Long stockQuantity;
/** 存塘重量(斤) */
@ApiModelProperty(value="存塘重量(斤)")
@Excel(name = "存塘重量(斤)")
private BigDecimal stockWeight;
/** 单位成本 */
@ApiModelProperty(value="单位成本")
@Excel(name = "单位成本")
private BigDecimal unitCost;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setFarmName(String farmName)
{
this.farmName = farmName;
}
public String getFarmName()
{
return farmName;
}
public void setBreedingArea(String breedingArea)
{
this.breedingArea = breedingArea;
}
public String getBreedingArea()
{
return breedingArea;
}
public void setBreedingRound(String breedingRound)
{
this.breedingRound = breedingRound;
}
public String getBreedingRound()
{
return breedingRound;
}
public void setBreedingCategory(String breedingCategory)
{
this.breedingCategory = breedingCategory;
}
public String getBreedingCategory()
{
return breedingCategory;
}
public void setBreedingSpecies(String breedingSpecies)
{
this.breedingSpecies = breedingSpecies;
}
public String getBreedingSpecies()
{
return breedingSpecies;
}
public void setPondOrBox(String pondOrBox)
{
this.pondOrBox = pondOrBox;
}
public String getPondOrBox()
{
return pondOrBox;
}
public void setBreedingStage(String breedingStage)
{
this.breedingStage = breedingStage;
}
public String getBreedingStage()
{
return breedingStage;
}
public void setCostDate(Date costDate)
{
this.costDate = costDate;
}
public Date getCostDate()
{
return costDate;
}
public void setVariableCosts(BigDecimal variableCosts)
{
this.variableCosts = variableCosts;
}
public BigDecimal getVariableCosts()
{
return variableCosts;
}
public void setSeedlingDate(Date seedlingDate)
{
this.seedlingDate = seedlingDate;
}
public Date getSeedlingDate()
{
return seedlingDate;
}
public void setSeedlingQuantity(Long seedlingQuantity)
{
this.seedlingQuantity = seedlingQuantity;
}
public Long getSeedlingQuantity()
{
return seedlingQuantity;
}
public void setSeedlingCost(BigDecimal seedlingCost)
{
this.seedlingCost = seedlingCost;
}
public BigDecimal getSeedlingCost()
{
return seedlingCost;
}
public void setFeedQuantity(BigDecimal feedQuantity)
{
this.feedQuantity = feedQuantity;
}
public BigDecimal getFeedQuantity()
{
return feedQuantity;
}
public void setFeedAmount(BigDecimal feedAmount)
{
this.feedAmount = feedAmount;
}
public BigDecimal getFeedAmount()
{
return feedAmount;
}
public void setAnimalHealthProtection(BigDecimal animalHealthProtection)
{
this.animalHealthProtection = animalHealthProtection;
}
public BigDecimal getAnimalHealthProtection()
{
return animalHealthProtection;
}
public void setConsumablesCost(BigDecimal consumablesCost)
{
this.consumablesCost = consumablesCost;
}
public BigDecimal getConsumablesCost()
{
return consumablesCost;
}
public void setLaborCost(BigDecimal laborCost)
{
this.laborCost = laborCost;
}
public BigDecimal getLaborCost()
{
return laborCost;
}
public void setElectricityFee(BigDecimal electricityFee)
{
this.electricityFee = electricityFee;
}
public BigDecimal getElectricityFee()
{
return electricityFee;
}
public void setNettingFee(BigDecimal nettingFee)
{
this.nettingFee = nettingFee;
}
public BigDecimal getNettingFee()
{
return nettingFee;
}
public void setDepreciationAndAmortization(BigDecimal depreciationAndAmortization)
{
this.depreciationAndAmortization = depreciationAndAmortization;
}
public BigDecimal getDepreciationAndAmortization()
{
return depreciationAndAmortization;
}
public void setRepairFee(BigDecimal repairFee)
{
this.repairFee = repairFee;
}
public BigDecimal getRepairFee()
{
return repairFee;
}
public void setFuelFee(BigDecimal fuelFee)
{
this.fuelFee = fuelFee;
}
public BigDecimal getFuelFee()
{
return fuelFee;
}
public void setLeaseFee(BigDecimal leaseFee)
{
this.leaseFee = leaseFee;
}
public BigDecimal getLeaseFee()
{
return leaseFee;
}
public void setOtherSharedCosts(BigDecimal otherSharedCosts)
{
this.otherSharedCosts = otherSharedCosts;
}
public BigDecimal getOtherSharedCosts()
{
return otherSharedCosts;
}
public void setFixedCosts(BigDecimal fixedCosts)
{
this.fixedCosts = fixedCosts;
}
public BigDecimal getFixedCosts()
{
return fixedCosts;
}
public void setCageDepreciationFee(BigDecimal cageDepreciationFee)
{
this.cageDepreciationFee = cageDepreciationFee;
}
public BigDecimal getCageDepreciationFee()
{
return cageDepreciationFee;
}
public void setCageManagementFee(BigDecimal cageManagementFee)
{
this.cageManagementFee = cageManagementFee;
}
public BigDecimal getCageManagementFee()
{
return cageManagementFee;
}
public void setSeaAreaFee(BigDecimal seaAreaFee)
{
this.seaAreaFee = seaAreaFee;
}
public BigDecimal getSeaAreaFee()
{
return seaAreaFee;
}
public void setPondRent(BigDecimal pondRent)
{
this.pondRent = pondRent;
}
public BigDecimal getPondRent()
{
return pondRent;
}
public void setTotalCost(BigDecimal totalCost)
{
this.totalCost = totalCost;
}
public BigDecimal getTotalCost()
{
return totalCost;
}
public void setStockInfoDays(Integer stockInfoDays)
{
this.stockInfoDays = stockInfoDays;
}
public Integer getStockInfoDays()
{
return stockInfoDays;
}
public void setStockSpecification(String stockSpecification)
{
this.stockSpecification = stockSpecification;
}
public String getStockSpecification()
{
return stockSpecification;
}
public void setStockQuantity(Long stockQuantity)
{
this.stockQuantity = stockQuantity;
}
public Long getStockQuantity()
{
return stockQuantity;
}
public void setStockWeight(BigDecimal stockWeight)
{
this.stockWeight = stockWeight;
}
public BigDecimal getStockWeight()
{
return stockWeight;
}
public void setUnitCost(BigDecimal unitCost)
{
this.unitCost = unitCost;
}
public BigDecimal getUnitCost()
{
return unitCost;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("farmName", getFarmName())
.append("breedingArea", getBreedingArea())
.append("breedingRound", getBreedingRound())
.append("breedingCategory", getBreedingCategory())
.append("breedingSpecies", getBreedingSpecies())
.append("pondOrBox", getPondOrBox())
.append("breedingStage", getBreedingStage())
.append("costDate", getCostDate())
.append("variableCosts", getVariableCosts())
.append("seedlingDate", getSeedlingDate())
.append("seedlingQuantity", getSeedlingQuantity())
.append("seedlingCost", getSeedlingCost())
.append("feedQuantity", getFeedQuantity())
.append("feedAmount", getFeedAmount())
.append("animalHealthProtection", getAnimalHealthProtection())
.append("consumablesCost", getConsumablesCost())
.append("laborCost", getLaborCost())
.append("electricityFee", getElectricityFee())
.append("nettingFee", getNettingFee())
.append("depreciationAndAmortization", getDepreciationAndAmortization())
.append("repairFee", getRepairFee())
.append("fuelFee", getFuelFee())
.append("leaseFee", getLeaseFee())
.append("otherSharedCosts", getOtherSharedCosts())
.append("fixedCosts", getFixedCosts())
.append("cageDepreciationFee", getCageDepreciationFee())
.append("cageManagementFee", getCageManagementFee())
.append("seaAreaFee", getSeaAreaFee())
.append("pondRent", getPondRent())
.append("totalCost", getTotalCost())
.append("stockInfoDays", getStockInfoDays())
.append("stockSpecification", getStockSpecification())
.append("stockQuantity", getStockQuantity())
.append("stockWeight", getStockWeight())
.append("unitCost", getUnitCost())
.toString();
}
}
... ...
package com.zhonglai.luhui.domain.cb;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonglai.luhui.common.util.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.zhonglai.luhui.common.util.domain.BaseEntity;
/**
* 斤鱼成本与售价查询对象 cb_fish_cost_and_price_query
*
* @author zhonglai
* @date 2024-04-24
*/
@ApiModel("斤鱼成本与售价查询")
public class CbFishCostAndPriceQuery extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键ID */
private Integer id;
/** 养殖场 */
@ApiModelProperty(value="养殖场")
@Excel(name = "养殖场")
private String farmName;
/** 生产造次 */
@ApiModelProperty(value="生产造次")
@Excel(name = "生产造次")
private String productionCycle;
/** 养殖品种 */
@ApiModelProperty(value="养殖品种")
@Excel(name = "养殖品种")
private String fishSpecies;
/** 规格等级 */
@ApiModelProperty(value="规格等级")
@Excel(name = "规格等级")
private String specificationGrade;
/** 出鱼日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value="出鱼日期")
@Excel(name = "出鱼日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date fishOutDate;
/** 斤鱼成本 */
@ApiModelProperty(value="斤鱼成本")
@Excel(name = "斤鱼成本")
private BigDecimal costPerJin;
/** 斤鱼售价 */
@ApiModelProperty(value="斤鱼售价")
@Excel(name = "斤鱼售价")
private BigDecimal pricePerJin;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setFarmName(String farmName)
{
this.farmName = farmName;
}
public String getFarmName()
{
return farmName;
}
public void setProductionCycle(String productionCycle)
{
this.productionCycle = productionCycle;
}
public String getProductionCycle()
{
return productionCycle;
}
public void setFishSpecies(String fishSpecies)
{
this.fishSpecies = fishSpecies;
}
public String getFishSpecies()
{
return fishSpecies;
}
public void setSpecificationGrade(String specificationGrade)
{
this.specificationGrade = specificationGrade;
}
public String getSpecificationGrade()
{
return specificationGrade;
}
public void setFishOutDate(Date fishOutDate)
{
this.fishOutDate = fishOutDate;
}
public Date getFishOutDate()
{
return fishOutDate;
}
public void setCostPerJin(BigDecimal costPerJin)
{
this.costPerJin = costPerJin;
}
public BigDecimal getCostPerJin()
{
return costPerJin;
}
public void setPricePerJin(BigDecimal pricePerJin)
{
this.pricePerJin = pricePerJin;
}
public BigDecimal getPricePerJin()
{
return pricePerJin;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("farmName", getFarmName())
.append("productionCycle", getProductionCycle())
.append("fishSpecies", getFishSpecies())
.append("specificationGrade", getSpecificationGrade())
.append("fishOutDate", getFishOutDate())
.append("costPerJin", getCostPerJin())
.append("pricePerJin", getPricePerJin())
.toString();
}
}
... ...
package com.zhonglai.luhui.domain.cb;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonglai.luhui.common.util.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.zhonglai.luhui.common.util.domain.BaseEntity;
/**
* 养成结转成本统计对象 cb_growth_closing_cost_statistics
*
* @author zhonglai
* @date 2024-04-24
*/
@ApiModel("养成结转成本统计")
public class CbGrowthClosingCostStatistics extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键ID */
private Integer id;
/** 养殖场 */
@ApiModelProperty(value="养殖场")
@Excel(name = "养殖场")
private String farmName;
/** 养殖区域 */
@ApiModelProperty(value="养殖区域")
@Excel(name = "养殖区域")
private String breedingArea;
/** 养殖造次 */
@ApiModelProperty(value="养殖造次")
@Excel(name = "养殖造次")
private String breedingCycle;
/** 养殖品类 */
@ApiModelProperty(value="养殖品类")
@Excel(name = "养殖品类")
private String breedingCategory;
/** 养殖品种 */
@ApiModelProperty(value="养殖品种")
@Excel(name = "养殖品种")
private String breedingSpecies;
/** 塘口/箱号 */
@ApiModelProperty(value="塘口/箱号")
@Excel(name = "塘口/箱号")
private String pondOrBox;
/** 操作日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value="操作日期")
@Excel(name = "操作日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date operationDate;
/** 操作类型 */
@ApiModelProperty(value="操作类型")
@Excel(name = "操作类型")
private String operationType;
/** 养殖阶段 */
@ApiModelProperty(value="养殖阶段")
@Excel(name = "养殖阶段")
private String breedingStage;
/** 变动成本 */
@ApiModelProperty(value="变动成本")
@Excel(name = "变动成本")
private BigDecimal variableCosts;
/** 投苗日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value="投苗日期")
@Excel(name = "投苗日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date seedingDate;
/** 投苗数量 (尾) */
@ApiModelProperty(value="投苗数量 (尾)")
@Excel(name = "投苗数量 (尾)")
private Long seedingQuantityTail;
/** 投苗金额(元) */
@ApiModelProperty(value="投苗金额(元)")
@Excel(name = "投苗金额(元)")
private BigDecimal seedingAmount;
/** 饲料数量(kg) */
@ApiModelProperty(value="饲料数量(kg)")
@Excel(name = "饲料数量(kg)")
private BigDecimal feedQuantityKg;
/** 饲料金额(元) */
@ApiModelProperty(value="饲料金额(元)")
@Excel(name = "饲料金额(元)")
private BigDecimal feedAmount;
/** 动保 */
@ApiModelProperty(value="动保")
@Excel(name = "动保")
private BigDecimal animalHealthProtection;
/** 低值易耗品 */
@ApiModelProperty(value="低值易耗品")
@Excel(name = "低值易耗品")
private BigDecimal consumablesCost;
/** 电费 */
@ApiModelProperty(value="电费")
@Excel(name = "电费")
private BigDecimal electricityFee;
/** 人工成本 */
@ApiModelProperty(value="人工成本")
@Excel(name = "人工成本")
private BigDecimal laborCost;
/** 网费 */
@ApiModelProperty(value="网费")
@Excel(name = "网费")
private BigDecimal netFee;
/** 折旧与摊销 */
@ApiModelProperty(value="折旧与摊销")
@Excel(name = "折旧与摊销")
private BigDecimal depreciationAndAmortization;
/** 其他公摊 */
@ApiModelProperty(value="其他公摊")
@Excel(name = "其他公摊")
private BigDecimal otherSharedCosts;
/** 修理费 */
@ApiModelProperty(value="修理费")
@Excel(name = "修理费")
private BigDecimal repairFee;
/** 燃料费 */
@ApiModelProperty(value="燃料费")
@Excel(name = "燃料费")
private BigDecimal fuelFee;
/** 租赁费 */
@ApiModelProperty(value="租赁费")
@Excel(name = "租赁费")
private BigDecimal leaseFee;
/** 定额费用 */
@ApiModelProperty(value="定额费用")
@Excel(name = "定额费用")
private BigDecimal fixedCosts;
/** 网箱折旧 */
@ApiModelProperty(value="网箱折旧")
@Excel(name = "网箱折旧")
private BigDecimal cageDepreciation;
/** 网箱管理费 */
@ApiModelProperty(value="网箱管理费")
@Excel(name = "网箱管理费")
private BigDecimal cageManagementFee;
/** 海域费 */
@ApiModelProperty(value="海域费")
@Excel(name = "海域费")
private BigDecimal seaAreaFee;
/** 塘租 */
@ApiModelProperty(value="塘租")
@Excel(name = "塘租")
private BigDecimal pondRent;
/** 成本合计 */
@ApiModelProperty(value="成本合计")
@Excel(name = "成本合计")
private BigDecimal totalCost;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setFarmName(String farmName)
{
this.farmName = farmName;
}
public String getFarmName()
{
return farmName;
}
public void setBreedingArea(String breedingArea)
{
this.breedingArea = breedingArea;
}
public String getBreedingArea()
{
return breedingArea;
}
public void setBreedingCycle(String breedingCycle)
{
this.breedingCycle = breedingCycle;
}
public String getBreedingCycle()
{
return breedingCycle;
}
public void setBreedingCategory(String breedingCategory)
{
this.breedingCategory = breedingCategory;
}
public String getBreedingCategory()
{
return breedingCategory;
}
public void setBreedingSpecies(String breedingSpecies)
{
this.breedingSpecies = breedingSpecies;
}
public String getBreedingSpecies()
{
return breedingSpecies;
}
public void setPondOrBox(String pondOrBox)
{
this.pondOrBox = pondOrBox;
}
public String getPondOrBox()
{
return pondOrBox;
}
public void setOperationDate(Date operationDate)
{
this.operationDate = operationDate;
}
public Date getOperationDate()
{
return operationDate;
}
public void setOperationType(String operationType)
{
this.operationType = operationType;
}
public String getOperationType()
{
return operationType;
}
public void setBreedingStage(String breedingStage)
{
this.breedingStage = breedingStage;
}
public String getBreedingStage()
{
return breedingStage;
}
public void setVariableCosts(BigDecimal variableCosts)
{
this.variableCosts = variableCosts;
}
public BigDecimal getVariableCosts()
{
return variableCosts;
}
public void setSeedingDate(Date seedingDate)
{
this.seedingDate = seedingDate;
}
public Date getSeedingDate()
{
return seedingDate;
}
public void setSeedingQuantityTail(Long seedingQuantityTail)
{
this.seedingQuantityTail = seedingQuantityTail;
}
public Long getSeedingQuantityTail()
{
return seedingQuantityTail;
}
public void setSeedingAmount(BigDecimal seedingAmount)
{
this.seedingAmount = seedingAmount;
}
public BigDecimal getSeedingAmount()
{
return seedingAmount;
}
public void setFeedQuantityKg(BigDecimal feedQuantityKg)
{
this.feedQuantityKg = feedQuantityKg;
}
public BigDecimal getFeedQuantityKg()
{
return feedQuantityKg;
}
public void setFeedAmount(BigDecimal feedAmount)
{
this.feedAmount = feedAmount;
}
public BigDecimal getFeedAmount()
{
return feedAmount;
}
public void setAnimalHealthProtection(BigDecimal animalHealthProtection)
{
this.animalHealthProtection = animalHealthProtection;
}
public BigDecimal getAnimalHealthProtection()
{
return animalHealthProtection;
}
public void setConsumablesCost(BigDecimal consumablesCost)
{
this.consumablesCost = consumablesCost;
}
public BigDecimal getConsumablesCost()
{
return consumablesCost;
}
public void setElectricityFee(BigDecimal electricityFee)
{
this.electricityFee = electricityFee;
}
public BigDecimal getElectricityFee()
{
return electricityFee;
}
public void setLaborCost(BigDecimal laborCost)
{
this.laborCost = laborCost;
}
public BigDecimal getLaborCost()
{
return laborCost;
}
public void setNetFee(BigDecimal netFee)
{
this.netFee = netFee;
}
public BigDecimal getNetFee()
{
return netFee;
}
public void setDepreciationAndAmortization(BigDecimal depreciationAndAmortization)
{
this.depreciationAndAmortization = depreciationAndAmortization;
}
public BigDecimal getDepreciationAndAmortization()
{
return depreciationAndAmortization;
}
public void setOtherSharedCosts(BigDecimal otherSharedCosts)
{
this.otherSharedCosts = otherSharedCosts;
}
public BigDecimal getOtherSharedCosts()
{
return otherSharedCosts;
}
public void setRepairFee(BigDecimal repairFee)
{
this.repairFee = repairFee;
}
public BigDecimal getRepairFee()
{
return repairFee;
}
public void setFuelFee(BigDecimal fuelFee)
{
this.fuelFee = fuelFee;
}
public BigDecimal getFuelFee()
{
return fuelFee;
}
public void setLeaseFee(BigDecimal leaseFee)
{
this.leaseFee = leaseFee;
}
public BigDecimal getLeaseFee()
{
return leaseFee;
}
public void setFixedCosts(BigDecimal fixedCosts)
{
this.fixedCosts = fixedCosts;
}
public BigDecimal getFixedCosts()
{
return fixedCosts;
}
public void setCageDepreciation(BigDecimal cageDepreciation)
{
this.cageDepreciation = cageDepreciation;
}
public BigDecimal getCageDepreciation()
{
return cageDepreciation;
}
public void setCageManagementFee(BigDecimal cageManagementFee)
{
this.cageManagementFee = cageManagementFee;
}
public BigDecimal getCageManagementFee()
{
return cageManagementFee;
}
public void setSeaAreaFee(BigDecimal seaAreaFee)
{
this.seaAreaFee = seaAreaFee;
}
public BigDecimal getSeaAreaFee()
{
return seaAreaFee;
}
public void setPondRent(BigDecimal pondRent)
{
this.pondRent = pondRent;
}
public BigDecimal getPondRent()
{
return pondRent;
}
public void setTotalCost(BigDecimal totalCost)
{
this.totalCost = totalCost;
}
public BigDecimal getTotalCost()
{
return totalCost;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("farmName", getFarmName())
.append("breedingArea", getBreedingArea())
.append("breedingCycle", getBreedingCycle())
.append("breedingCategory", getBreedingCategory())
.append("breedingSpecies", getBreedingSpecies())
.append("pondOrBox", getPondOrBox())
.append("operationDate", getOperationDate())
.append("operationType", getOperationType())
.append("breedingStage", getBreedingStage())
.append("variableCosts", getVariableCosts())
.append("seedingDate", getSeedingDate())
.append("seedingQuantityTail", getSeedingQuantityTail())
.append("seedingAmount", getSeedingAmount())
.append("feedQuantityKg", getFeedQuantityKg())
.append("feedAmount", getFeedAmount())
.append("animalHealthProtection", getAnimalHealthProtection())
.append("consumablesCost", getConsumablesCost())
.append("electricityFee", getElectricityFee())
.append("laborCost", getLaborCost())
.append("netFee", getNetFee())
.append("depreciationAndAmortization", getDepreciationAndAmortization())
.append("otherSharedCosts", getOtherSharedCosts())
.append("repairFee", getRepairFee())
.append("fuelFee", getFuelFee())
.append("leaseFee", getLeaseFee())
.append("fixedCosts", getFixedCosts())
.append("cageDepreciation", getCageDepreciation())
.append("cageManagementFee", getCageManagementFee())
.append("seaAreaFee", getSeaAreaFee())
.append("pondRent", getPondRent())
.append("totalCost", getTotalCost())
.toString();
}
}
... ...
package com.zhonglai.luhui.domain.cb;
import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonglai.luhui.common.util.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.zhonglai.luhui.common.util.domain.BaseEntity;
/**
* 养成成本月度汇总余额对象 cb_monthly_raising_cost_summary
*
* @author zhonglai
* @date 2024-04-24
*/
@ApiModel("养成成本月度汇总余额")
public class CbMonthlyRaisingCostSummary extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键ID */
private Integer id;
/** 养殖场 */
@ApiModelProperty(value="养殖场")
@Excel(name = "养殖场")
private String farmName;
/** 养殖造次 */
@ApiModelProperty(value="养殖造次")
@Excel(name = "养殖造次")
private String raisingCycle;
/** 养殖区域 */
@ApiModelProperty(value="养殖区域")
@Excel(name = "养殖区域")
private String raisingArea;
/** 养殖品种 */
@ApiModelProperty(value="养殖品种")
@Excel(name = "养殖品种")
private String raisingSpecies;
/** 塘口/箱号 */
@ApiModelProperty(value="塘口/箱号")
@Excel(name = "塘口/箱号")
private String pondOrCage;
/** 摘要 */
@ApiModelProperty(value="摘要")
@Excel(name = "摘要")
private String summary;
/** 变动成本 */
@ApiModelProperty(value="变动成本")
@Excel(name = "变动成本")
private BigDecimal variableCosts;
/** 苗数量 */
@ApiModelProperty(value="苗数量")
@Excel(name = "苗数量")
private Integer seedlingQuantity;
/** 苗金额 */
@ApiModelProperty(value="苗金额")
@Excel(name = "苗金额")
private BigDecimal seedlingCost;
/** 饲料数量(kg) */
@ApiModelProperty(value="饲料数量(kg)")
@Excel(name = "饲料数量(kg)")
private BigDecimal feedQuantityKg;
/** 饲料成本 */
@ApiModelProperty(value="饲料成本")
@Excel(name = "饲料成本")
private BigDecimal feedCost;
/** 动保 */
@ApiModelProperty(value="动保")
@Excel(name = "动保")
private BigDecimal animalHealthProtection;
/** 低值易耗品 */
@ApiModelProperty(value="低值易耗品")
@Excel(name = "低值易耗品")
private BigDecimal consumablesCost;
/** 电费 */
@ApiModelProperty(value="电费")
@Excel(name = "电费")
private BigDecimal electricityFee;
/** 人工 */
@ApiModelProperty(value="人工")
@Excel(name = "人工")
private BigDecimal laborCost;
/** 网费 */
@ApiModelProperty(value="网费")
@Excel(name = "网费")
private BigDecimal internetFee;
/** 折旧与摊销 */
@ApiModelProperty(value="折旧与摊销")
@Excel(name = "折旧与摊销")
private BigDecimal depreciationAndAmortization;
/** 修理费 */
@ApiModelProperty(value="修理费")
@Excel(name = "修理费")
private BigDecimal repairFee;
/** 燃料费 */
@ApiModelProperty(value="燃料费")
@Excel(name = "燃料费")
private BigDecimal fuelFee;
/** 租赁费 */
@ApiModelProperty(value="租赁费")
@Excel(name = "租赁费")
private BigDecimal leaseFee;
/** 其他养殖公摊 */
@ApiModelProperty(value="其他养殖公摊")
@Excel(name = "其他养殖公摊")
private BigDecimal otherRaisingSharedCosts;
/** 定额费用 */
@ApiModelProperty(value="定额费用")
@Excel(name = "定额费用")
private BigDecimal fixedCosts;
/** 网箱折旧费 */
@ApiModelProperty(value="网箱折旧费")
@Excel(name = "网箱折旧费")
private BigDecimal cageDepreciationFee;
/** 网箱管理费 */
@ApiModelProperty(value="网箱管理费")
@Excel(name = "网箱管理费")
private BigDecimal cageManagementFee;
/** 海域费 */
@ApiModelProperty(value="海域费")
@Excel(name = "海域费")
private BigDecimal seaAreaFee;
/** 塘租 */
@ApiModelProperty(value="塘租")
@Excel(name = "塘租")
private BigDecimal pondRent;
/** 合计 */
@ApiModelProperty(value="合计")
@Excel(name = "合计")
private BigDecimal totalCost;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setFarmName(String farmName)
{
this.farmName = farmName;
}
public String getFarmName()
{
return farmName;
}
public void setRaisingCycle(String raisingCycle)
{
this.raisingCycle = raisingCycle;
}
public String getRaisingCycle()
{
return raisingCycle;
}
public void setRaisingArea(String raisingArea)
{
this.raisingArea = raisingArea;
}
public String getRaisingArea()
{
return raisingArea;
}
public void setRaisingSpecies(String raisingSpecies)
{
this.raisingSpecies = raisingSpecies;
}
public String getRaisingSpecies()
{
return raisingSpecies;
}
public void setPondOrCage(String pondOrCage)
{
this.pondOrCage = pondOrCage;
}
public String getPondOrCage()
{
return pondOrCage;
}
public void setSummary(String summary)
{
this.summary = summary;
}
public String getSummary()
{
return summary;
}
public void setVariableCosts(BigDecimal variableCosts)
{
this.variableCosts = variableCosts;
}
public BigDecimal getVariableCosts()
{
return variableCosts;
}
public void setSeedlingQuantity(Integer seedlingQuantity)
{
this.seedlingQuantity = seedlingQuantity;
}
public Integer getSeedlingQuantity()
{
return seedlingQuantity;
}
public void setSeedlingCost(BigDecimal seedlingCost)
{
this.seedlingCost = seedlingCost;
}
public BigDecimal getSeedlingCost()
{
return seedlingCost;
}
public void setFeedQuantityKg(BigDecimal feedQuantityKg)
{
this.feedQuantityKg = feedQuantityKg;
}
public BigDecimal getFeedQuantityKg()
{
return feedQuantityKg;
}
public void setFeedCost(BigDecimal feedCost)
{
this.feedCost = feedCost;
}
public BigDecimal getFeedCost()
{
return feedCost;
}
public void setAnimalHealthProtection(BigDecimal animalHealthProtection)
{
this.animalHealthProtection = animalHealthProtection;
}
public BigDecimal getAnimalHealthProtection()
{
return animalHealthProtection;
}
public void setConsumablesCost(BigDecimal consumablesCost)
{
this.consumablesCost = consumablesCost;
}
public BigDecimal getConsumablesCost()
{
return consumablesCost;
}
public void setElectricityFee(BigDecimal electricityFee)
{
this.electricityFee = electricityFee;
}
public BigDecimal getElectricityFee()
{
return electricityFee;
}
public void setLaborCost(BigDecimal laborCost)
{
this.laborCost = laborCost;
}
public BigDecimal getLaborCost()
{
return laborCost;
}
public void setInternetFee(BigDecimal internetFee)
{
this.internetFee = internetFee;
}
public BigDecimal getInternetFee()
{
return internetFee;
}
public void setDepreciationAndAmortization(BigDecimal depreciationAndAmortization)
{
this.depreciationAndAmortization = depreciationAndAmortization;
}
public BigDecimal getDepreciationAndAmortization()
{
return depreciationAndAmortization;
}
public void setRepairFee(BigDecimal repairFee)
{
this.repairFee = repairFee;
}
public BigDecimal getRepairFee()
{
return repairFee;
}
public void setFuelFee(BigDecimal fuelFee)
{
this.fuelFee = fuelFee;
}
public BigDecimal getFuelFee()
{
return fuelFee;
}
public void setLeaseFee(BigDecimal leaseFee)
{
this.leaseFee = leaseFee;
}
public BigDecimal getLeaseFee()
{
return leaseFee;
}
public void setOtherRaisingSharedCosts(BigDecimal otherRaisingSharedCosts)
{
this.otherRaisingSharedCosts = otherRaisingSharedCosts;
}
public BigDecimal getOtherRaisingSharedCosts()
{
return otherRaisingSharedCosts;
}
public void setFixedCosts(BigDecimal fixedCosts)
{
this.fixedCosts = fixedCosts;
}
public BigDecimal getFixedCosts()
{
return fixedCosts;
}
public void setCageDepreciationFee(BigDecimal cageDepreciationFee)
{
this.cageDepreciationFee = cageDepreciationFee;
}
public BigDecimal getCageDepreciationFee()
{
return cageDepreciationFee;
}
public void setCageManagementFee(BigDecimal cageManagementFee)
{
this.cageManagementFee = cageManagementFee;
}
public BigDecimal getCageManagementFee()
{
return cageManagementFee;
}
public void setSeaAreaFee(BigDecimal seaAreaFee)
{
this.seaAreaFee = seaAreaFee;
}
public BigDecimal getSeaAreaFee()
{
return seaAreaFee;
}
public void setPondRent(BigDecimal pondRent)
{
this.pondRent = pondRent;
}
public BigDecimal getPondRent()
{
return pondRent;
}
public void setTotalCost(BigDecimal totalCost)
{
this.totalCost = totalCost;
}
public BigDecimal getTotalCost()
{
return totalCost;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("farmName", getFarmName())
.append("raisingCycle", getRaisingCycle())
.append("raisingArea", getRaisingArea())
.append("raisingSpecies", getRaisingSpecies())
.append("pondOrCage", getPondOrCage())
.append("summary", getSummary())
.append("variableCosts", getVariableCosts())
.append("seedlingQuantity", getSeedlingQuantity())
.append("seedlingCost", getSeedlingCost())
.append("feedQuantityKg", getFeedQuantityKg())
.append("feedCost", getFeedCost())
.append("animalHealthProtection", getAnimalHealthProtection())
.append("consumablesCost", getConsumablesCost())
.append("electricityFee", getElectricityFee())
.append("laborCost", getLaborCost())
.append("internetFee", getInternetFee())
.append("depreciationAndAmortization", getDepreciationAndAmortization())
.append("repairFee", getRepairFee())
.append("fuelFee", getFuelFee())
.append("leaseFee", getLeaseFee())
.append("otherRaisingSharedCosts", getOtherRaisingSharedCosts())
.append("fixedCosts", getFixedCosts())
.append("cageDepreciationFee", getCageDepreciationFee())
.append("cageManagementFee", getCageManagementFee())
.append("seaAreaFee", getSeaAreaFee())
.append("pondRent", getPondRent())
.append("totalCost", getTotalCost())
.toString();
}
}
... ...
package com.zhonglai.luhui.domain.cb;
import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonglai.luhui.common.util.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.zhonglai.luhui.common.util.domain.BaseEntity;
/**
* 育苗成本月度汇总余额对象 cb_monthly_seedling_cost_summary
*
* @author zhonglai
* @date 2024-04-24
*/
@ApiModel("育苗成本月度汇总余额")
public class CbMonthlySeedlingCostSummary extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键ID */
private Integer id;
/** 养殖场 */
@ApiModelProperty(value="养殖场")
@Excel(name = "养殖场")
private String farmName;
/** 养殖区域 */
@ApiModelProperty(value="养殖区域")
@Excel(name = "养殖区域")
private String breedingArea;
/** 育苗批次 */
@ApiModelProperty(value="育苗批次")
@Excel(name = "育苗批次")
private String seedlingBatch;
/** 养殖品种 */
@ApiModelProperty(value="养殖品种")
@Excel(name = "养殖品种")
private String breedingSpecies;
/** 塘口/箱号 */
@ApiModelProperty(value="塘口/箱号")
@Excel(name = "塘口/箱号")
private String pondOrCage;
/** 摘要 */
@ApiModelProperty(value="摘要")
@Excel(name = "摘要")
private String summary;
/** 变动成本 */
@ApiModelProperty(value="变动成本")
@Excel(name = "变动成本")
private BigDecimal variableCosts;
/** 卵数量 */
@ApiModelProperty(value="卵数量")
@Excel(name = "卵数量")
private Integer eggQuantity;
/** 卵成本(元) */
@ApiModelProperty(value="卵成本(元)")
@Excel(name = "卵成本(元)")
private BigDecimal eggCost;
/** 饲料数量(kg) */
@ApiModelProperty(value="饲料数量(kg)")
@Excel(name = "饲料数量(kg)")
private BigDecimal feedQuantityKg;
/** 饲料成本 */
@ApiModelProperty(value="饲料成本")
@Excel(name = "饲料成本")
private BigDecimal feedCost;
/** 动保 */
@ApiModelProperty(value="动保")
@Excel(name = "动保")
private BigDecimal animalHealthProtection;
/** 低值易耗品 */
@ApiModelProperty(value="低值易耗品")
@Excel(name = "低值易耗品")
private BigDecimal consumablesCost;
/** 人工 */
@ApiModelProperty(value="人工")
@Excel(name = "人工")
private BigDecimal laborCost;
/** 电费 */
@ApiModelProperty(value="电费")
@Excel(name = "电费")
private BigDecimal electricityFee;
/** 拉网费 */
@ApiModelProperty(value="拉网费")
@Excel(name = "拉网费")
private BigDecimal netDraggingFee;
/** 折旧与摊销 */
@ApiModelProperty(value="折旧与摊销")
@Excel(name = "折旧与摊销")
private BigDecimal depreciationAndAmortization;
/** 修理费 */
@ApiModelProperty(value="修理费")
@Excel(name = "修理费")
private BigDecimal repairFee;
/** 燃料费 */
@ApiModelProperty(value="燃料费")
@Excel(name = "燃料费")
private BigDecimal fuelFee;
/** 租赁费 */
@ApiModelProperty(value="租赁费")
@Excel(name = "租赁费")
private BigDecimal leaseFee;
/** 其他公摊 */
@ApiModelProperty(value="其他公摊")
@Excel(name = "其他公摊")
private BigDecimal otherSharedCosts;
/** 定额费用 */
@ApiModelProperty(value="定额费用")
@Excel(name = "定额费用")
private BigDecimal fixedCosts;
/** 网箱折旧费 */
@ApiModelProperty(value="网箱折旧费")
@Excel(name = "网箱折旧费")
private BigDecimal cageDepreciationFee;
/** 网箱管理费 */
@ApiModelProperty(value="网箱管理费")
@Excel(name = "网箱管理费")
private BigDecimal cageManagementFee;
/** 海域费 */
@ApiModelProperty(value="海域费")
@Excel(name = "海域费")
private BigDecimal seaAreaFee;
/** 塘租 */
@ApiModelProperty(value="塘租")
@Excel(name = "塘租")
private BigDecimal pondRent;
/** 成本合计 */
@ApiModelProperty(value="成本合计")
@Excel(name = "成本合计")
private BigDecimal totalCost;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setFarmName(String farmName)
{
this.farmName = farmName;
}
public String getFarmName()
{
return farmName;
}
public void setBreedingArea(String breedingArea)
{
this.breedingArea = breedingArea;
}
public String getBreedingArea()
{
return breedingArea;
}
public void setSeedlingBatch(String seedlingBatch)
{
this.seedlingBatch = seedlingBatch;
}
public String getSeedlingBatch()
{
return seedlingBatch;
}
public void setBreedingSpecies(String breedingSpecies)
{
this.breedingSpecies = breedingSpecies;
}
public String getBreedingSpecies()
{
return breedingSpecies;
}
public void setPondOrCage(String pondOrCage)
{
this.pondOrCage = pondOrCage;
}
public String getPondOrCage()
{
return pondOrCage;
}
public void setSummary(String summary)
{
this.summary = summary;
}
public String getSummary()
{
return summary;
}
public void setVariableCosts(BigDecimal variableCosts)
{
this.variableCosts = variableCosts;
}
public BigDecimal getVariableCosts()
{
return variableCosts;
}
public void setEggQuantity(Integer eggQuantity)
{
this.eggQuantity = eggQuantity;
}
public Integer getEggQuantity()
{
return eggQuantity;
}
public void setEggCost(BigDecimal eggCost)
{
this.eggCost = eggCost;
}
public BigDecimal getEggCost()
{
return eggCost;
}
public void setFeedQuantityKg(BigDecimal feedQuantityKg)
{
this.feedQuantityKg = feedQuantityKg;
}
public BigDecimal getFeedQuantityKg()
{
return feedQuantityKg;
}
public void setFeedCost(BigDecimal feedCost)
{
this.feedCost = feedCost;
}
public BigDecimal getFeedCost()
{
return feedCost;
}
public void setAnimalHealthProtection(BigDecimal animalHealthProtection)
{
this.animalHealthProtection = animalHealthProtection;
}
public BigDecimal getAnimalHealthProtection()
{
return animalHealthProtection;
}
public void setConsumablesCost(BigDecimal consumablesCost)
{
this.consumablesCost = consumablesCost;
}
public BigDecimal getConsumablesCost()
{
return consumablesCost;
}
public void setLaborCost(BigDecimal laborCost)
{
this.laborCost = laborCost;
}
public BigDecimal getLaborCost()
{
return laborCost;
}
public void setElectricityFee(BigDecimal electricityFee)
{
this.electricityFee = electricityFee;
}
public BigDecimal getElectricityFee()
{
return electricityFee;
}
public void setNetDraggingFee(BigDecimal netDraggingFee)
{
this.netDraggingFee = netDraggingFee;
}
public BigDecimal getNetDraggingFee()
{
return netDraggingFee;
}
public void setDepreciationAndAmortization(BigDecimal depreciationAndAmortization)
{
this.depreciationAndAmortization = depreciationAndAmortization;
}
public BigDecimal getDepreciationAndAmortization()
{
return depreciationAndAmortization;
}
public void setRepairFee(BigDecimal repairFee)
{
this.repairFee = repairFee;
}
public BigDecimal getRepairFee()
{
return repairFee;
}
public void setFuelFee(BigDecimal fuelFee)
{
this.fuelFee = fuelFee;
}
public BigDecimal getFuelFee()
{
return fuelFee;
}
public void setLeaseFee(BigDecimal leaseFee)
{
this.leaseFee = leaseFee;
}
public BigDecimal getLeaseFee()
{
return leaseFee;
}
public void setOtherSharedCosts(BigDecimal otherSharedCosts)
{
this.otherSharedCosts = otherSharedCosts;
}
public BigDecimal getOtherSharedCosts()
{
return otherSharedCosts;
}
public void setFixedCosts(BigDecimal fixedCosts)
{
this.fixedCosts = fixedCosts;
}
public BigDecimal getFixedCosts()
{
return fixedCosts;
}
public void setCageDepreciationFee(BigDecimal cageDepreciationFee)
{
this.cageDepreciationFee = cageDepreciationFee;
}
public BigDecimal getCageDepreciationFee()
{
return cageDepreciationFee;
}
public void setCageManagementFee(BigDecimal cageManagementFee)
{
this.cageManagementFee = cageManagementFee;
}
public BigDecimal getCageManagementFee()
{
return cageManagementFee;
}
public void setSeaAreaFee(BigDecimal seaAreaFee)
{
this.seaAreaFee = seaAreaFee;
}
public BigDecimal getSeaAreaFee()
{
return seaAreaFee;
}
public void setPondRent(BigDecimal pondRent)
{
this.pondRent = pondRent;
}
public BigDecimal getPondRent()
{
return pondRent;
}
public void setTotalCost(BigDecimal totalCost)
{
this.totalCost = totalCost;
}
public BigDecimal getTotalCost()
{
return totalCost;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("farmName", getFarmName())
.append("breedingArea", getBreedingArea())
.append("seedlingBatch", getSeedlingBatch())
.append("breedingSpecies", getBreedingSpecies())
.append("pondOrCage", getPondOrCage())
.append("summary", getSummary())
.append("variableCosts", getVariableCosts())
.append("eggQuantity", getEggQuantity())
.append("eggCost", getEggCost())
.append("feedQuantityKg", getFeedQuantityKg())
.append("feedCost", getFeedCost())
.append("animalHealthProtection", getAnimalHealthProtection())
.append("consumablesCost", getConsumablesCost())
.append("laborCost", getLaborCost())
.append("electricityFee", getElectricityFee())
.append("netDraggingFee", getNetDraggingFee())
.append("depreciationAndAmortization", getDepreciationAndAmortization())
.append("repairFee", getRepairFee())
.append("fuelFee", getFuelFee())
.append("leaseFee", getLeaseFee())
.append("otherSharedCosts", getOtherSharedCosts())
.append("fixedCosts", getFixedCosts())
.append("cageDepreciationFee", getCageDepreciationFee())
.append("cageManagementFee", getCageManagementFee())
.append("seaAreaFee", getSeaAreaFee())
.append("pondRent", getPondRent())
.append("totalCost", getTotalCost())
.toString();
}
}
... ...
package com.zhonglai.luhui.domain.cb;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonglai.luhui.common.util.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.zhonglai.luhui.common.util.domain.BaseEntity;
/**
* 育苗结转成本统计对象 cb_nursery_closing_cost_statistics
*
* @author zhonglai
* @date 2024-04-24
*/
@ApiModel("育苗结转成本统计")
public class CbNurseryClosingCostStatistics extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键ID */
private Integer id;
/** 养殖场 */
@ApiModelProperty(value="养殖场")
@Excel(name = "养殖场")
private String farmName;
/** 养殖区域 */
@ApiModelProperty(value="养殖区域")
@Excel(name = "养殖区域")
private String breedingArea;
/** 育苗批次 */
@ApiModelProperty(value="育苗批次")
@Excel(name = "育苗批次")
private String nurseryBatch;
/** 养殖品类 */
@ApiModelProperty(value="养殖品类")
@Excel(name = "养殖品类")
private String breedingCategory;
/** 养殖品种 */
@ApiModelProperty(value="养殖品种")
@Excel(name = "养殖品种")
private String breedingSpecies;
/** 塘口/箱号 */
@ApiModelProperty(value="塘口/箱号")
@Excel(name = "塘口/箱号")
private String pondOrBox;
/** 操作类型 */
@ApiModelProperty(value="操作类型")
@Excel(name = "操作类型")
private String operationType;
/** 操作日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value="操作日期")
@Excel(name = "操作日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date operationDate;
/** 变动成本 */
@ApiModelProperty(value="变动成本")
@Excel(name = "变动成本")
private BigDecimal variableCosts;
/** 投卵日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value="投卵日期")
@Excel(name = "投卵日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date eggLayingDate;
/** 投卵数量(kg) */
@ApiModelProperty(value="投卵数量(kg)")
@Excel(name = "投卵数量(kg)")
private BigDecimal eggQuantityKg;
/** 卵成本 */
@ApiModelProperty(value="卵成本")
@Excel(name = "卵成本")
private BigDecimal eggCost;
/** 饲料数量(kg) */
@ApiModelProperty(value="饲料数量(kg)")
@Excel(name = "饲料数量(kg)")
private BigDecimal feedQuantityKg;
/** 饲料金额 */
@ApiModelProperty(value="饲料金额")
@Excel(name = "饲料金额")
private BigDecimal feedAmount;
/** 动保 */
@ApiModelProperty(value="动保")
@Excel(name = "动保")
private BigDecimal animalHealthProtection;
/** 低值易耗品 */
@ApiModelProperty(value="低值易耗品")
@Excel(name = "低值易耗品")
private BigDecimal consumablesCost;
/** 人工 */
@ApiModelProperty(value="人工")
@Excel(name = "人工")
private BigDecimal laborCost;
/** 电费 */
@ApiModelProperty(value="电费")
@Excel(name = "电费")
private BigDecimal electricityFee;
/** 拉网费 */
@ApiModelProperty(value="拉网费")
@Excel(name = "拉网费")
private BigDecimal netDraggingFee;
/** 折旧与摊销 */
@ApiModelProperty(value="折旧与摊销")
@Excel(name = "折旧与摊销")
private BigDecimal depreciationAndAmortization;
/** 修理费 */
@ApiModelProperty(value="修理费")
@Excel(name = "修理费")
private BigDecimal repairFee;
/** 燃料费 */
@ApiModelProperty(value="燃料费")
@Excel(name = "燃料费")
private BigDecimal fuelFee;
/** 租赁费 */
@ApiModelProperty(value="租赁费")
@Excel(name = "租赁费")
private BigDecimal leaseFee;
/** 其他公摊费 */
@ApiModelProperty(value="其他公摊费")
@Excel(name = "其他公摊费")
private BigDecimal otherSharedCosts;
/** 定额费用 */
@ApiModelProperty(value="定额费用")
@Excel(name = "定额费用")
private BigDecimal fixedCosts;
/** 网箱折旧 */
@ApiModelProperty(value="网箱折旧")
@Excel(name = "网箱折旧")
private BigDecimal cageDepreciation;
/** 网箱管理费 */
@ApiModelProperty(value="网箱管理费")
@Excel(name = "网箱管理费")
private BigDecimal cageManagementFee;
/** 海域费 */
@ApiModelProperty(value="海域费")
@Excel(name = "海域费")
private BigDecimal seaAreaFee;
/** 塘租 */
@ApiModelProperty(value="塘租")
@Excel(name = "塘租")
private BigDecimal pondRent;
/** 成本合计 */
@ApiModelProperty(value="成本合计")
@Excel(name = "成本合计")
private BigDecimal totalCost;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setFarmName(String farmName)
{
this.farmName = farmName;
}
public String getFarmName()
{
return farmName;
}
public void setBreedingArea(String breedingArea)
{
this.breedingArea = breedingArea;
}
public String getBreedingArea()
{
return breedingArea;
}
public void setNurseryBatch(String nurseryBatch)
{
this.nurseryBatch = nurseryBatch;
}
public String getNurseryBatch()
{
return nurseryBatch;
}
public void setBreedingCategory(String breedingCategory)
{
this.breedingCategory = breedingCategory;
}
public String getBreedingCategory()
{
return breedingCategory;
}
public void setBreedingSpecies(String breedingSpecies)
{
this.breedingSpecies = breedingSpecies;
}
public String getBreedingSpecies()
{
return breedingSpecies;
}
public void setPondOrBox(String pondOrBox)
{
this.pondOrBox = pondOrBox;
}
public String getPondOrBox()
{
return pondOrBox;
}
public void setOperationType(String operationType)
{
this.operationType = operationType;
}
public String getOperationType()
{
return operationType;
}
public void setOperationDate(Date operationDate)
{
this.operationDate = operationDate;
}
public Date getOperationDate()
{
return operationDate;
}
public void setVariableCosts(BigDecimal variableCosts)
{
this.variableCosts = variableCosts;
}
public BigDecimal getVariableCosts()
{
return variableCosts;
}
public void setEggLayingDate(Date eggLayingDate)
{
this.eggLayingDate = eggLayingDate;
}
public Date getEggLayingDate()
{
return eggLayingDate;
}
public void setEggQuantityKg(BigDecimal eggQuantityKg)
{
this.eggQuantityKg = eggQuantityKg;
}
public BigDecimal getEggQuantityKg()
{
return eggQuantityKg;
}
public void setEggCost(BigDecimal eggCost)
{
this.eggCost = eggCost;
}
public BigDecimal getEggCost()
{
return eggCost;
}
public void setFeedQuantityKg(BigDecimal feedQuantityKg)
{
this.feedQuantityKg = feedQuantityKg;
}
public BigDecimal getFeedQuantityKg()
{
return feedQuantityKg;
}
public void setFeedAmount(BigDecimal feedAmount)
{
this.feedAmount = feedAmount;
}
public BigDecimal getFeedAmount()
{
return feedAmount;
}
public void setAnimalHealthProtection(BigDecimal animalHealthProtection)
{
this.animalHealthProtection = animalHealthProtection;
}
public BigDecimal getAnimalHealthProtection()
{
return animalHealthProtection;
}
public void setConsumablesCost(BigDecimal consumablesCost)
{
this.consumablesCost = consumablesCost;
}
public BigDecimal getConsumablesCost()
{
return consumablesCost;
}
public void setLaborCost(BigDecimal laborCost)
{
this.laborCost = laborCost;
}
public BigDecimal getLaborCost()
{
return laborCost;
}
public void setElectricityFee(BigDecimal electricityFee)
{
this.electricityFee = electricityFee;
}
public BigDecimal getElectricityFee()
{
return electricityFee;
}
public void setNetDraggingFee(BigDecimal netDraggingFee)
{
this.netDraggingFee = netDraggingFee;
}
public BigDecimal getNetDraggingFee()
{
return netDraggingFee;
}
public void setDepreciationAndAmortization(BigDecimal depreciationAndAmortization)
{
this.depreciationAndAmortization = depreciationAndAmortization;
}
public BigDecimal getDepreciationAndAmortization()
{
return depreciationAndAmortization;
}
public void setRepairFee(BigDecimal repairFee)
{
this.repairFee = repairFee;
}
public BigDecimal getRepairFee()
{
return repairFee;
}
public void setFuelFee(BigDecimal fuelFee)
{
this.fuelFee = fuelFee;
}
public BigDecimal getFuelFee()
{
return fuelFee;
}
public void setLeaseFee(BigDecimal leaseFee)
{
this.leaseFee = leaseFee;
}
public BigDecimal getLeaseFee()
{
return leaseFee;
}
public void setOtherSharedCosts(BigDecimal otherSharedCosts)
{
this.otherSharedCosts = otherSharedCosts;
}
public BigDecimal getOtherSharedCosts()
{
return otherSharedCosts;
}
public void setFixedCosts(BigDecimal fixedCosts)
{
this.fixedCosts = fixedCosts;
}
public BigDecimal getFixedCosts()
{
return fixedCosts;
}
public void setCageDepreciation(BigDecimal cageDepreciation)
{
this.cageDepreciation = cageDepreciation;
}
public BigDecimal getCageDepreciation()
{
return cageDepreciation;
}
public void setCageManagementFee(BigDecimal cageManagementFee)
{
this.cageManagementFee = cageManagementFee;
}
public BigDecimal getCageManagementFee()
{
return cageManagementFee;
}
public void setSeaAreaFee(BigDecimal seaAreaFee)
{
this.seaAreaFee = seaAreaFee;
}
public BigDecimal getSeaAreaFee()
{
return seaAreaFee;
}
public void setPondRent(BigDecimal pondRent)
{
this.pondRent = pondRent;
}
public BigDecimal getPondRent()
{
return pondRent;
}
public void setTotalCost(BigDecimal totalCost)
{
this.totalCost = totalCost;
}
public BigDecimal getTotalCost()
{
return totalCost;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("farmName", getFarmName())
.append("breedingArea", getBreedingArea())
.append("nurseryBatch", getNurseryBatch())
.append("breedingCategory", getBreedingCategory())
.append("breedingSpecies", getBreedingSpecies())
.append("pondOrBox", getPondOrBox())
.append("operationType", getOperationType())
.append("operationDate", getOperationDate())
.append("variableCosts", getVariableCosts())
.append("eggLayingDate", getEggLayingDate())
.append("eggQuantityKg", getEggQuantityKg())
.append("eggCost", getEggCost())
.append("feedQuantityKg", getFeedQuantityKg())
.append("feedAmount", getFeedAmount())
.append("animalHealthProtection", getAnimalHealthProtection())
.append("consumablesCost", getConsumablesCost())
.append("laborCost", getLaborCost())
.append("electricityFee", getElectricityFee())
.append("netDraggingFee", getNetDraggingFee())
.append("depreciationAndAmortization", getDepreciationAndAmortization())
.append("repairFee", getRepairFee())
.append("fuelFee", getFuelFee())
.append("leaseFee", getLeaseFee())
.append("otherSharedCosts", getOtherSharedCosts())
.append("fixedCosts", getFixedCosts())
.append("cageDepreciation", getCageDepreciation())
.append("cageManagementFee", getCageManagementFee())
.append("seaAreaFee", getSeaAreaFee())
.append("pondRent", getPondRent())
.append("totalCost", getTotalCost())
.toString();
}
}
... ...
package com.zhonglai.luhui.domain.cb;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonglai.luhui.common.util.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.zhonglai.luhui.common.util.domain.BaseEntity;
/**
* 育苗存塘成本统计对象 cb_nursery_stock_cost_statistics
*
* @author zhonglai
* @date 2024-04-24
*/
@ApiModel("育苗存塘成本统计")
public class CbNurseryStockCostStatistics extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键ID */
private Integer id;
/** 养殖场 */
@ApiModelProperty(value="养殖场")
@Excel(name = "养殖场")
private String farmName;
/** 养殖区域 */
@ApiModelProperty(value="养殖区域")
@Excel(name = "养殖区域")
private String breedingArea;
/** 育苗批次 */
@ApiModelProperty(value="育苗批次")
@Excel(name = "育苗批次")
private String nurseryBatch;
/** 养殖品类 */
@ApiModelProperty(value="养殖品类")
@Excel(name = "养殖品类")
private String breedingCategory;
/** 养殖品种 */
@ApiModelProperty(value="养殖品种")
@Excel(name = "养殖品种")
private String breedingSpecies;
/** 塘口/箱号 */
@ApiModelProperty(value="塘口/箱号")
@Excel(name = "塘口/箱号")
private String pondOrBox;
/** 成本日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value="成本日期")
@Excel(name = "成本日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date costDate;
/** 变动成本 */
@ApiModelProperty(value="变动成本")
@Excel(name = "变动成本")
private BigDecimal variableCosts;
/** 投卵日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@ApiModelProperty(value="投卵日期")
@Excel(name = "投卵日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date eggLayingDate;
/** 投卵数量(kg) */
@ApiModelProperty(value="投卵数量(kg)")
@Excel(name = "投卵数量(kg)")
private BigDecimal eggQuantityKg;
/** 卵成本(元) */
@ApiModelProperty(value="卵成本(元)")
@Excel(name = "卵成本(元)")
private BigDecimal eggCost;
/** 饲料数量(kg) */
@ApiModelProperty(value="饲料数量(kg)")
@Excel(name = "饲料数量(kg)")
private BigDecimal feedQuantityKg;
/** 饲料金额(元) */
@ApiModelProperty(value="饲料金额(元)")
@Excel(name = "饲料金额(元)")
private BigDecimal feedAmount;
/** 动保(元) */
@ApiModelProperty(value="动保(元)")
@Excel(name = "动保(元)")
private BigDecimal animalHealthProtectionCost;
/** 低值易耗品(元) */
@ApiModelProperty(value="低值易耗品(元)")
@Excel(name = "低值易耗品(元)")
private BigDecimal consumablesCost;
/** 人工(元) */
@ApiModelProperty(value="人工(元)")
@Excel(name = "人工(元)")
private BigDecimal laborCost;
/** 电费(元) */
@ApiModelProperty(value="电费(元)")
@Excel(name = "电费(元)")
private BigDecimal electricityFee;
/** 拉网费 */
@ApiModelProperty(value="拉网费")
@Excel(name = "拉网费")
private BigDecimal nettingFee;
/** 折旧与摊销 */
@ApiModelProperty(value="折旧与摊销")
@Excel(name = "折旧与摊销")
private BigDecimal depreciationAndAmortization;
/** 修理费 */
@ApiModelProperty(value="修理费")
@Excel(name = "修理费")
private BigDecimal repairFee;
/** 燃料费 */
@ApiModelProperty(value="燃料费")
@Excel(name = "燃料费")
private BigDecimal fuelFee;
/** 租赁费 */
@ApiModelProperty(value="租赁费")
@Excel(name = "租赁费")
private BigDecimal leaseFee;
/** 其他公摊费 */
@ApiModelProperty(value="其他公摊费")
@Excel(name = "其他公摊费")
private BigDecimal otherSharedCosts;
/** 定额费用 */
@ApiModelProperty(value="定额费用")
@Excel(name = "定额费用")
private BigDecimal fixedCosts;
/** 网箱折旧(元) */
@ApiModelProperty(value="网箱折旧(元)")
@Excel(name = "网箱折旧(元)")
private BigDecimal cageDepreciation;
/** 箱管理费(元) */
@ApiModelProperty(value="箱管理费(元)")
@Excel(name = "箱管理费(元)")
private BigDecimal boxManagementFee;
/** 海域费(元) */
@ApiModelProperty(value="海域费(元)")
@Excel(name = "海域费(元)")
private BigDecimal seaAreaFee;
/** 塘租 */
@ApiModelProperty(value="塘租")
@Excel(name = "塘租")
private BigDecimal pondRent;
/** 成本合计 */
@ApiModelProperty(value="成本合计")
@Excel(name = "成本合计")
private BigDecimal totalCost;
/** 育苗天数 */
@ApiModelProperty(value="育苗天数")
@Excel(name = "育苗天数")
private Integer nurseryDays;
/** 存塘规格 */
@ApiModelProperty(value="存塘规格")
@Excel(name = "存塘规格")
private String stockSpecification;
/** 存塘数量 */
@ApiModelProperty(value="存塘数量")
@Excel(name = "存塘数量")
private Long stockQuantity;
/** 单位成本 */
@ApiModelProperty(value="单位成本")
@Excel(name = "单位成本")
private BigDecimal unitCost;
public void setId(Integer id)
{
this.id = id;
}
public Integer getId()
{
return id;
}
public void setFarmName(String farmName)
{
this.farmName = farmName;
}
public String getFarmName()
{
return farmName;
}
public void setBreedingArea(String breedingArea)
{
this.breedingArea = breedingArea;
}
public String getBreedingArea()
{
return breedingArea;
}
public void setNurseryBatch(String nurseryBatch)
{
this.nurseryBatch = nurseryBatch;
}
public String getNurseryBatch()
{
return nurseryBatch;
}
public void setBreedingCategory(String breedingCategory)
{
this.breedingCategory = breedingCategory;
}
public String getBreedingCategory()
{
return breedingCategory;
}
public void setBreedingSpecies(String breedingSpecies)
{
this.breedingSpecies = breedingSpecies;
}
public String getBreedingSpecies()
{
return breedingSpecies;
}
public void setPondOrBox(String pondOrBox)
{
this.pondOrBox = pondOrBox;
}
public String getPondOrBox()
{
return pondOrBox;
}
public void setCostDate(Date costDate)
{
this.costDate = costDate;
}
public Date getCostDate()
{
return costDate;
}
public void setVariableCosts(BigDecimal variableCosts)
{
this.variableCosts = variableCosts;
}
public BigDecimal getVariableCosts()
{
return variableCosts;
}
public void setEggLayingDate(Date eggLayingDate)
{
this.eggLayingDate = eggLayingDate;
}
public Date getEggLayingDate()
{
return eggLayingDate;
}
public void setEggQuantityKg(BigDecimal eggQuantityKg)
{
this.eggQuantityKg = eggQuantityKg;
}
public BigDecimal getEggQuantityKg()
{
return eggQuantityKg;
}
public void setEggCost(BigDecimal eggCost)
{
this.eggCost = eggCost;
}
public BigDecimal getEggCost()
{
return eggCost;
}
public void setFeedQuantityKg(BigDecimal feedQuantityKg)
{
this.feedQuantityKg = feedQuantityKg;
}
public BigDecimal getFeedQuantityKg()
{
return feedQuantityKg;
}
public void setFeedAmount(BigDecimal feedAmount)
{
this.feedAmount = feedAmount;
}
public BigDecimal getFeedAmount()
{
return feedAmount;
}
public void setAnimalHealthProtectionCost(BigDecimal animalHealthProtectionCost)
{
this.animalHealthProtectionCost = animalHealthProtectionCost;
}
public BigDecimal getAnimalHealthProtectionCost()
{
return animalHealthProtectionCost;
}
public void setConsumablesCost(BigDecimal consumablesCost)
{
this.consumablesCost = consumablesCost;
}
public BigDecimal getConsumablesCost()
{
return consumablesCost;
}
public void setLaborCost(BigDecimal laborCost)
{
this.laborCost = laborCost;
}
public BigDecimal getLaborCost()
{
return laborCost;
}
public void setElectricityFee(BigDecimal electricityFee)
{
this.electricityFee = electricityFee;
}
public BigDecimal getElectricityFee()
{
return electricityFee;
}
public void setNettingFee(BigDecimal nettingFee)
{
this.nettingFee = nettingFee;
}
public BigDecimal getNettingFee()
{
return nettingFee;
}
public void setDepreciationAndAmortization(BigDecimal depreciationAndAmortization)
{
this.depreciationAndAmortization = depreciationAndAmortization;
}
public BigDecimal getDepreciationAndAmortization()
{
return depreciationAndAmortization;
}
public void setRepairFee(BigDecimal repairFee)
{
this.repairFee = repairFee;
}
public BigDecimal getRepairFee()
{
return repairFee;
}
public void setFuelFee(BigDecimal fuelFee)
{
this.fuelFee = fuelFee;
}
public BigDecimal getFuelFee()
{
return fuelFee;
}
public void setLeaseFee(BigDecimal leaseFee)
{
this.leaseFee = leaseFee;
}
public BigDecimal getLeaseFee()
{
return leaseFee;
}
public void setOtherSharedCosts(BigDecimal otherSharedCosts)
{
this.otherSharedCosts = otherSharedCosts;
}
public BigDecimal getOtherSharedCosts()
{
return otherSharedCosts;
}
public void setFixedCosts(BigDecimal fixedCosts)
{
this.fixedCosts = fixedCosts;
}
public BigDecimal getFixedCosts()
{
return fixedCosts;
}
public void setCageDepreciation(BigDecimal cageDepreciation)
{
this.cageDepreciation = cageDepreciation;
}
public BigDecimal getCageDepreciation()
{
return cageDepreciation;
}
public void setBoxManagementFee(BigDecimal boxManagementFee)
{
this.boxManagementFee = boxManagementFee;
}
public BigDecimal getBoxManagementFee()
{
return boxManagementFee;
}
public void setSeaAreaFee(BigDecimal seaAreaFee)
{
this.seaAreaFee = seaAreaFee;
}
public BigDecimal getSeaAreaFee()
{
return seaAreaFee;
}
public void setPondRent(BigDecimal pondRent)
{
this.pondRent = pondRent;
}
public BigDecimal getPondRent()
{
return pondRent;
}
public void setTotalCost(BigDecimal totalCost)
{
this.totalCost = totalCost;
}
public BigDecimal getTotalCost()
{
return totalCost;
}
public void setNurseryDays(Integer nurseryDays)
{
this.nurseryDays = nurseryDays;
}
public Integer getNurseryDays()
{
return nurseryDays;
}
public void setStockSpecification(String stockSpecification)
{
this.stockSpecification = stockSpecification;
}
public String getStockSpecification()
{
return stockSpecification;
}
public void setStockQuantity(Long stockQuantity)
{
this.stockQuantity = stockQuantity;
}
public Long getStockQuantity()
{
return stockQuantity;
}
public void setUnitCost(BigDecimal unitCost)
{
this.unitCost = unitCost;
}
public BigDecimal getUnitCost()
{
return unitCost;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("farmName", getFarmName())
.append("breedingArea", getBreedingArea())
.append("nurseryBatch", getNurseryBatch())
.append("breedingCategory", getBreedingCategory())
.append("breedingSpecies", getBreedingSpecies())
.append("pondOrBox", getPondOrBox())
.append("costDate", getCostDate())
.append("variableCosts", getVariableCosts())
.append("eggLayingDate", getEggLayingDate())
.append("eggQuantityKg", getEggQuantityKg())
.append("eggCost", getEggCost())
.append("feedQuantityKg", getFeedQuantityKg())
.append("feedAmount", getFeedAmount())
.append("animalHealthProtectionCost", getAnimalHealthProtectionCost())
.append("consumablesCost", getConsumablesCost())
.append("laborCost", getLaborCost())
.append("electricityFee", getElectricityFee())
.append("nettingFee", getNettingFee())
.append("depreciationAndAmortization", getDepreciationAndAmortization())
.append("repairFee", getRepairFee())
.append("fuelFee", getFuelFee())
.append("leaseFee", getLeaseFee())
.append("otherSharedCosts", getOtherSharedCosts())
.append("fixedCosts", getFixedCosts())
.append("cageDepreciation", getCageDepreciation())
.append("boxManagementFee", getBoxManagementFee())
.append("seaAreaFee", getSeaAreaFee())
.append("pondRent", getPondRent())
.append("totalCost", getTotalCost())
.append("nurseryDays", getNurseryDays())
.append("stockSpecification", getStockSpecification())
.append("stockQuantity", getStockQuantity())
.append("unitCost", getUnitCost())
.toString();
}
}
... ...