|
|
@@ -26,57 +26,68 @@ public class InsLaborCost implements Serializable {
|
|
|
/**
|
|
|
* 年-月
|
|
|
*/
|
|
|
- private String yearMonth;
|
|
|
+ @TableField(value="year_and_month")
|
|
|
+ private String yearAndMonth;
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 人力成本
|
|
|
*/
|
|
|
+ @TableField(value="labor_cost")
|
|
|
private BigDecimal laborCost;
|
|
|
|
|
|
/**
|
|
|
* 固定成本
|
|
|
*/
|
|
|
+ @TableField(value="fixed_cost")
|
|
|
private BigDecimal fixedCost;
|
|
|
|
|
|
/**
|
|
|
* 变动成本
|
|
|
*/
|
|
|
+ @TableField(value="variable_cost")
|
|
|
private BigDecimal variableCost;
|
|
|
|
|
|
/**
|
|
|
* 经营利润
|
|
|
*/
|
|
|
+ @TableField(value="operating_profit")
|
|
|
private BigDecimal operatingProfit;
|
|
|
|
|
|
/**
|
|
|
* 税费
|
|
|
*/
|
|
|
+ @TableField(value="taxation")
|
|
|
private BigDecimal taxation;
|
|
|
|
|
|
/**
|
|
|
* 净利润
|
|
|
*/
|
|
|
+ @TableField(value="net_profit")
|
|
|
private BigDecimal netProfit;
|
|
|
|
|
|
/**
|
|
|
* 创建人
|
|
|
*/
|
|
|
+ @TableField(value="create_user")
|
|
|
private String createUser;
|
|
|
|
|
|
/**
|
|
|
* 创建时间
|
|
|
*/
|
|
|
+ @TableField(value="create_date")
|
|
|
private Date createDate;
|
|
|
|
|
|
/**
|
|
|
* 修改人
|
|
|
*/
|
|
|
+ @TableField(value="update_user")
|
|
|
private Date updateUser;
|
|
|
|
|
|
/**
|
|
|
* 修改时间
|
|
|
*/
|
|
|
+ @TableField(value="update_date")
|
|
|
private Date updateDate;
|
|
|
|
|
|
@TableField(exist = false)
|
|
|
@@ -95,7 +106,7 @@ public class InsLaborCost implements Serializable {
|
|
|
}
|
|
|
InsLaborCost other = (InsLaborCost) that;
|
|
|
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
|
|
|
- && (this.getYearMonth() == null ? other.getYearMonth() == null : this.getYearMonth().equals(other.getYearMonth()))
|
|
|
+ && (this.getYearAndMonth() == null ? other.getYearAndMonth() == null : this.getYearAndMonth().equals(other.getYearAndMonth()))
|
|
|
&& (this.getLaborCost() == null ? other.getLaborCost() == null : this.getLaborCost().equals(other.getLaborCost()))
|
|
|
&& (this.getFixedCost() == null ? other.getFixedCost() == null : this.getFixedCost().equals(other.getFixedCost()))
|
|
|
&& (this.getVariableCost() == null ? other.getVariableCost() == null : this.getVariableCost().equals(other.getVariableCost()))
|
|
|
@@ -113,7 +124,7 @@ public class InsLaborCost implements Serializable {
|
|
|
final int prime = 31;
|
|
|
int result = 1;
|
|
|
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
|
|
|
- result = prime * result + ((getYearMonth() == null) ? 0 : getYearMonth().hashCode());
|
|
|
+ result = prime * result + ((getYearAndMonth() == null) ? 0 : getYearAndMonth().hashCode());
|
|
|
result = prime * result + ((getLaborCost() == null) ? 0 : getLaborCost().hashCode());
|
|
|
result = prime * result + ((getFixedCost() == null) ? 0 : getFixedCost().hashCode());
|
|
|
result = prime * result + ((getVariableCost() == null) ? 0 : getVariableCost().hashCode());
|
|
|
@@ -134,7 +145,7 @@ public class InsLaborCost implements Serializable {
|
|
|
sb.append(" [");
|
|
|
sb.append("Hash = ").append(hashCode());
|
|
|
sb.append(", id=").append(id);
|
|
|
- sb.append(", yearMonth=").append(yearMonth);
|
|
|
+ sb.append(", yearAndMonth=").append(yearAndMonth);
|
|
|
sb.append(", laborCost=").append(laborCost);
|
|
|
sb.append(", fixedCost=").append(fixedCost);
|
|
|
sb.append(", variableCost=").append(variableCost);
|