Commit c8960ab5 authored by 赵啸非's avatar 赵啸非

添加窗口人员查询

parent 13157e9e
package com.mortals.xhx.module.window.model;
import java.util.List;
import java.util.Date;
import java.util.List;
import java.util.ArrayList;
......@@ -9,80 +10,92 @@ import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.module.window.model.vo.WindowWorkmanPerformVo;
import com.mortals.xhx.module.window.model.WindowWorkmanPerformDetailEntity;
import lombok.Data;
/**
* 窗口人员考核汇总登记实体对象
*
* @author zxfei
* @date 2024-01-17
*/
* 窗口人员考核汇总登记实体对象
*
* @author zxfei
* @date 2024-01-27
*/
@Data
public class WindowWorkmanPerformEntity extends WindowWorkmanPerformVo {
private static final long serialVersionUID = 1L;
/**
* 考核年度
*/
* 考核年度
*/
private Integer year;
/**
* 考核月份
*/
* 考核月份
*/
private Integer month;
/**
* 窗口ID
*/
* 窗口ID
*/
private Long windowId;
/**
* 窗口名称
*/
* 窗口名称
*/
private String windowName;
/**
* 窗口负责人id
*/
* 窗口负责人id
*/
private Long ownerId;
/**
* 窗口负责人名称
*/
* 窗口负责人名称
*/
private String ownerName;
/**
* 所属部门id
*/
* 所属部门id
*/
private Long deptId;
/**
* 所属部门名称
*/
* 所属部门名称
*/
private String deptName;
/**
* 所属大厅
*/
* 所属大厅
*/
private Long salaId;
/**
* 所属大厅名称
*/
* 所属大厅名称
*/
private String salaName;
/**
* 备注
*/
* 备注
*/
private String remark;
/**
* 附件名称
*/
* 附件名称
*/
private String annex;
/**
* 附件地址
*/
* 附件地址
*/
private String annexUrl;
/**
* 填报时间
*/
* 填报时间
*/
private Date fillDate;
/**
* 填报状态0暂存1提交
*/
* 填报状态0暂存1提交
*/
private Integer fillStatus;
/**
* 窗口人员考核汇总明细信息
*/
private List<WindowWorkmanPerformDetailEntity> windowWorkmanPerformDetailList=new ArrayList<>();;
public List<WindowWorkmanPerformDetailEntity> getWindowWorkmanPerformDetailList(){
return windowWorkmanPerformDetailList;
}
public void setWindowWorkmanPerformDetailList(List<WindowWorkmanPerformDetailEntity> windowWorkmanPerformDetailList){
this.windowWorkmanPerformDetailList = windowWorkmanPerformDetailList;
}
@Override
public int hashCode() {
return this.getId().hashCode();
return this.getId().hashCode();
}
@Override
public boolean equals(Object obj) {
......@@ -90,27 +103,27 @@ public class WindowWorkmanPerformEntity extends WindowWorkmanPerformVo {
if (obj instanceof WindowWorkmanPerformEntity) {
WindowWorkmanPerformEntity tmp = (WindowWorkmanPerformEntity) obj;
if (this.getId() == tmp.getId()) {
return true;
return true;
}
}
return false;
}
public void initAttrValue(){
this.year = DateUtil.year(new Date());
this.month = DateUtil.month(new Date())+1;
this.windowId = null;
this.windowName = "";
this.ownerId = null;
this.ownerName = "";
this.deptId = null;
this.deptName = "";
this.salaId = null;
this.salaName = "";
this.remark = "";
this.annex = "";
this.annexUrl = "";
this.fillDate = new Date();
this.fillStatus = 0;
this.year = DateUtil.year(new Date());
this.month = DateUtil.month(new Date())+1;
this.windowId = null;
this.windowName = "";
this.ownerId = null;
this.ownerName = "";
this.deptId = null;
this.deptName = "";
this.salaId = null;
this.salaName = "";
this.remark = "";
this.annex = "";
this.annexUrl = "";
this.fillDate = new Date();
this.fillStatus = 0;
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment