|
|
@@ -1,125 +1,113 @@
|
|
|
package com.goafanti.common.model;
|
|
|
|
|
|
-import java.io.Serializable;
|
|
|
-import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
|
+import java.io.Serializable;
|
|
|
|
|
|
/**
|
|
|
- * department
|
|
|
- * @author
|
|
|
+ * (Department)实体类
|
|
|
+ *
|
|
|
+ * @author andex
|
|
|
+ * @since 2023-11-08 15:00:45
|
|
|
*/
|
|
|
public class Department implements Serializable {
|
|
|
+ private static final long serialVersionUID = -34395587561644846L;
|
|
|
/**
|
|
|
* 组织ID
|
|
|
*/
|
|
|
private String id;
|
|
|
-
|
|
|
/**
|
|
|
* 创建人
|
|
|
*/
|
|
|
private String createId;
|
|
|
-
|
|
|
/**
|
|
|
* 创建时间
|
|
|
*/
|
|
|
private Date createTime;
|
|
|
-
|
|
|
/**
|
|
|
* 更新时间
|
|
|
*/
|
|
|
private Date updateTime;
|
|
|
-
|
|
|
/**
|
|
|
* 删除标识
|
|
|
*/
|
|
|
private Integer deletedSign;
|
|
|
-
|
|
|
/**
|
|
|
* 组织名称
|
|
|
*/
|
|
|
private String name;
|
|
|
-
|
|
|
/**
|
|
|
* 组织类型
|
|
|
*/
|
|
|
private String type;
|
|
|
-
|
|
|
/**
|
|
|
* 组织负责人ID
|
|
|
*/
|
|
|
private String managerId;
|
|
|
-
|
|
|
/**
|
|
|
* 组织编号
|
|
|
*/
|
|
|
private String depNo;
|
|
|
-
|
|
|
/**
|
|
|
* 上级组织
|
|
|
*/
|
|
|
private String superId;
|
|
|
-
|
|
|
/**
|
|
|
* 组织职能说明
|
|
|
*/
|
|
|
private String remarks;
|
|
|
-
|
|
|
/**
|
|
|
* 组织状态
|
|
|
*/
|
|
|
private String status;
|
|
|
-
|
|
|
/**
|
|
|
* 缩写
|
|
|
*/
|
|
|
private String abbreviation;
|
|
|
-
|
|
|
/**
|
|
|
* 财务id(指定跳转的财务)
|
|
|
*/
|
|
|
private String financeId;
|
|
|
-
|
|
|
/**
|
|
|
* 所在省份
|
|
|
*/
|
|
|
private Integer province;
|
|
|
-
|
|
|
/**
|
|
|
* 工作时间
|
|
|
*/
|
|
|
private Integer workingHoursType;
|
|
|
-
|
|
|
/**
|
|
|
* 隐藏 0否 1是
|
|
|
*/
|
|
|
private Integer hideSign;
|
|
|
-
|
|
|
/**
|
|
|
* 层级
|
|
|
*/
|
|
|
private Integer lvl;
|
|
|
-
|
|
|
/**
|
|
|
* 当前金额
|
|
|
*/
|
|
|
- private BigDecimal currentAmount;
|
|
|
-
|
|
|
+ private Double currentAmount;
|
|
|
/**
|
|
|
* 下级累计金额
|
|
|
*/
|
|
|
- private BigDecimal subordinateAmount;
|
|
|
-
|
|
|
+ private Double subordinateAmount;
|
|
|
/**
|
|
|
* 总计金额
|
|
|
*/
|
|
|
- private BigDecimal totalAmount;
|
|
|
-
|
|
|
+ private Double totalAmount;
|
|
|
/**
|
|
|
* 复审财务id
|
|
|
*/
|
|
|
private String retrialFinanceId;
|
|
|
+ /**
|
|
|
+ * 特批审核状态 0=无需特批,1=需要特批
|
|
|
+ */
|
|
|
+ private Integer approval;
|
|
|
+ /**
|
|
|
+ * 特批审核人
|
|
|
+ */
|
|
|
+ private String approvalAid;
|
|
|
|
|
|
- private static final long serialVersionUID = 1L;
|
|
|
|
|
|
public String getId() {
|
|
|
return id;
|
|
|
@@ -265,27 +253,27 @@ public class Department implements Serializable {
|
|
|
this.lvl = lvl;
|
|
|
}
|
|
|
|
|
|
- public BigDecimal getCurrentAmount() {
|
|
|
+ public Double getCurrentAmount() {
|
|
|
return currentAmount;
|
|
|
}
|
|
|
|
|
|
- public void setCurrentAmount(BigDecimal currentAmount) {
|
|
|
+ public void setCurrentAmount(Double currentAmount) {
|
|
|
this.currentAmount = currentAmount;
|
|
|
}
|
|
|
|
|
|
- public BigDecimal getSubordinateAmount() {
|
|
|
+ public Double getSubordinateAmount() {
|
|
|
return subordinateAmount;
|
|
|
}
|
|
|
|
|
|
- public void setSubordinateAmount(BigDecimal subordinateAmount) {
|
|
|
+ public void setSubordinateAmount(Double subordinateAmount) {
|
|
|
this.subordinateAmount = subordinateAmount;
|
|
|
}
|
|
|
|
|
|
- public BigDecimal getTotalAmount() {
|
|
|
+ public Double getTotalAmount() {
|
|
|
return totalAmount;
|
|
|
}
|
|
|
|
|
|
- public void setTotalAmount(BigDecimal totalAmount) {
|
|
|
+ public void setTotalAmount(Double totalAmount) {
|
|
|
this.totalAmount = totalAmount;
|
|
|
}
|
|
|
|
|
|
@@ -297,8 +285,26 @@ public class Department implements Serializable {
|
|
|
this.retrialFinanceId = retrialFinanceId;
|
|
|
}
|
|
|
|
|
|
+ public Integer getApproval() {
|
|
|
+ return approval;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setApproval(Integer approval) {
|
|
|
+ this.approval = approval;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getApprovalAid() {
|
|
|
+ return approvalAid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setApprovalAid(String approvalAid) {
|
|
|
+ this.approvalAid = approvalAid;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
public Department() {}
|
|
|
public Department(String id) {
|
|
|
this.id = id;
|
|
|
}
|
|
|
+
|
|
|
}
|