|
@@ -0,0 +1,152 @@
|
|
|
|
|
+package com.ydtech.modules.ins.model;
|
|
|
|
|
+
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
|
+import lombok.Data;
|
|
|
|
|
+
|
|
|
|
|
+import java.io.Serializable;
|
|
|
|
|
+import java.math.BigDecimal;
|
|
|
|
|
+import java.util.Date;
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * 人力成本表
|
|
|
|
|
+ * @TableName ins_labor_cost
|
|
|
|
|
+ */
|
|
|
|
|
+@TableName(value ="ins_labor_cost")
|
|
|
|
|
+@Data
|
|
|
|
|
+public class InsLaborCost implements Serializable {
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 主键
|
|
|
|
|
+ */
|
|
|
|
|
+ @TableId(type = IdType.AUTO)
|
|
|
|
|
+ private Long id;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 年-月
|
|
|
|
|
+ */
|
|
|
|
|
+ private String yearMonth;
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 人力成本
|
|
|
|
|
+ */
|
|
|
|
|
+ private BigDecimal laborCost;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 固定成本
|
|
|
|
|
+ */
|
|
|
|
|
+ private BigDecimal fixedCost;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 变动成本
|
|
|
|
|
+ */
|
|
|
|
|
+ private BigDecimal variableCost;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 经营利润
|
|
|
|
|
+ */
|
|
|
|
|
+ private BigDecimal operatingProfit;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 税费
|
|
|
|
|
+ */
|
|
|
|
|
+ private BigDecimal taxation;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 净利润
|
|
|
|
|
+ */
|
|
|
|
|
+ private BigDecimal netProfit;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 创建人
|
|
|
|
|
+ */
|
|
|
|
|
+ private String createUser;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 创建时间
|
|
|
|
|
+ */
|
|
|
|
|
+ private Date createDate;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 修改人
|
|
|
|
|
+ */
|
|
|
|
|
+ private Date updateUser;
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 修改时间
|
|
|
|
|
+ */
|
|
|
|
|
+ private Date updateDate;
|
|
|
|
|
+
|
|
|
|
|
+ @TableField(exist = false)
|
|
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public boolean equals(Object that) {
|
|
|
|
|
+ if (this == that) {
|
|
|
|
|
+ return true;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (that == null) {
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (getClass() != that.getClass()) {
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
+ 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.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()))
|
|
|
|
|
+ && (this.getOperatingProfit() == null ? other.getOperatingProfit() == null : this.getOperatingProfit().equals(other.getOperatingProfit()))
|
|
|
|
|
+ && (this.getTaxation() == null ? other.getTaxation() == null : this.getTaxation().equals(other.getTaxation()))
|
|
|
|
|
+ && (this.getNetProfit() == null ? other.getNetProfit() == null : this.getNetProfit().equals(other.getNetProfit()))
|
|
|
|
|
+ && (this.getCreateUser() == null ? other.getCreateUser() == null : this.getCreateUser().equals(other.getCreateUser()))
|
|
|
|
|
+ && (this.getCreateDate() == null ? other.getCreateDate() == null : this.getCreateDate().equals(other.getCreateDate()))
|
|
|
|
|
+ && (this.getUpdateUser() == null ? other.getUpdateUser() == null : this.getUpdateUser().equals(other.getUpdateUser()))
|
|
|
|
|
+ && (this.getUpdateDate() == null ? other.getUpdateDate() == null : this.getUpdateDate().equals(other.getUpdateDate()));
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public int hashCode() {
|
|
|
|
|
+ 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 + ((getLaborCost() == null) ? 0 : getLaborCost().hashCode());
|
|
|
|
|
+ result = prime * result + ((getFixedCost() == null) ? 0 : getFixedCost().hashCode());
|
|
|
|
|
+ result = prime * result + ((getVariableCost() == null) ? 0 : getVariableCost().hashCode());
|
|
|
|
|
+ result = prime * result + ((getOperatingProfit() == null) ? 0 : getOperatingProfit().hashCode());
|
|
|
|
|
+ result = prime * result + ((getTaxation() == null) ? 0 : getTaxation().hashCode());
|
|
|
|
|
+ result = prime * result + ((getNetProfit() == null) ? 0 : getNetProfit().hashCode());
|
|
|
|
|
+ result = prime * result + ((getCreateUser() == null) ? 0 : getCreateUser().hashCode());
|
|
|
|
|
+ result = prime * result + ((getCreateDate() == null) ? 0 : getCreateDate().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateUser() == null) ? 0 : getUpdateUser().hashCode());
|
|
|
|
|
+ result = prime * result + ((getUpdateDate() == null) ? 0 : getUpdateDate().hashCode());
|
|
|
|
|
+ return result;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @Override
|
|
|
|
|
+ public String toString() {
|
|
|
|
|
+ StringBuilder sb = new StringBuilder();
|
|
|
|
|
+ sb.append(getClass().getSimpleName());
|
|
|
|
|
+ sb.append(" [");
|
|
|
|
|
+ sb.append("Hash = ").append(hashCode());
|
|
|
|
|
+ sb.append(", id=").append(id);
|
|
|
|
|
+ sb.append(", yearMonth=").append(yearMonth);
|
|
|
|
|
+ sb.append(", laborCost=").append(laborCost);
|
|
|
|
|
+ sb.append(", fixedCost=").append(fixedCost);
|
|
|
|
|
+ sb.append(", variableCost=").append(variableCost);
|
|
|
|
|
+ sb.append(", operatingProfit=").append(operatingProfit);
|
|
|
|
|
+ sb.append(", taxation=").append(taxation);
|
|
|
|
|
+ sb.append(", netProfit=").append(netProfit);
|
|
|
|
|
+ sb.append(", createUser=").append(createUser);
|
|
|
|
|
+ sb.append(", createDate=").append(createDate);
|
|
|
|
|
+ sb.append(", updateUser=").append(updateUser);
|
|
|
|
|
+ sb.append(", updateDate=").append(updateDate);
|
|
|
|
|
+ sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
|
|
|
+ sb.append("]");
|
|
|
|
|
+ return sb.toString();
|
|
|
|
|
+ }
|
|
|
|
|
+}
|