|
|
|
@ -1,4 +1,4 @@ |
|
|
|
package com.xm.core.entity; |
|
|
|
package com.xm.core.entity; |
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModel; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
@ -8,9 +8,9 @@ import java.math.BigDecimal; |
|
|
|
/** |
|
|
|
* 组织 com 顶级模块 xm 大模块 core 小模块 <br> |
|
|
|
* 实体 XmTaskWorkload所有属性名: <br> |
|
|
|
* userid,username,ctime,taskId,cuserid,bizDate,wstatus,remark,ttype,id,sbillId,stime,sstatus,amt,samt,workload;<br> |
|
|
|
* userid,username,ctime,taskId,cuserid,bizDate,wstatus,remark,ttype,id,sbillId,stime,sstatus,amt,samt,workload,rworkload,cusername,projectId;<br> |
|
|
|
* 表 xm_task_workload 工时登记表的所有字段名: <br> |
|
|
|
* userid,username,ctime,task_id,cuserid,biz_date,wstatus,remark,ttype,id,sbill_id,stime,sstatus,amt,samt,workload;<br> |
|
|
|
* userid,username,ctime,task_id,cuserid,biz_date,wstatus,remark,ttype,id,sbill_id,stime,sstatus,amt,samt,workload,rworkload,cusername,project_id;<br> |
|
|
|
* 当前主键(包括多主键):<br> |
|
|
|
* id;<br> |
|
|
|
*/ |
|
|
|
@ -67,6 +67,15 @@ public class XmTaskWorkload implements java.io.Serializable { |
|
|
|
|
|
|
|
@ApiModelProperty(notes="工时,一个task_id可多次提交,小时",allowEmptyValue=true,example="",allowableValues="") |
|
|
|
BigDecimal workload; |
|
|
|
|
|
|
|
@ApiModelProperty(notes="剩余工时(同一天取最后日期更新到task表rworkload中)",allowEmptyValue=true,example="",allowableValues="") |
|
|
|
BigDecimal rworkload; |
|
|
|
|
|
|
|
@ApiModelProperty(notes="创建人姓名",allowEmptyValue=true,example="",allowableValues="") |
|
|
|
String cusername; |
|
|
|
|
|
|
|
@ApiModelProperty(notes="归属项目",allowEmptyValue=true,example="",allowableValues="") |
|
|
|
String projectId; |
|
|
|
|
|
|
|
/**主键**/ |
|
|
|
public XmTaskWorkload(String id) { |
|
|
|
@ -173,6 +182,24 @@ public class XmTaskWorkload implements java.io.Serializable { |
|
|
|
public void setWorkload(BigDecimal workload) { |
|
|
|
this.workload = workload; |
|
|
|
} |
|
|
|
/** |
|
|
|
* 剩余工时(同一天取最后日期更新到task表rworkload中) |
|
|
|
**/ |
|
|
|
public void setRworkload(BigDecimal rworkload) { |
|
|
|
this.rworkload = rworkload; |
|
|
|
} |
|
|
|
/** |
|
|
|
* 创建人姓名 |
|
|
|
**/ |
|
|
|
public void setCusername(String cusername) { |
|
|
|
this.cusername = cusername; |
|
|
|
} |
|
|
|
/** |
|
|
|
* 归属项目 |
|
|
|
**/ |
|
|
|
public void setProjectId(String projectId) { |
|
|
|
this.projectId = projectId; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 员工编号 |
|
|
|
@ -270,5 +297,23 @@ public class XmTaskWorkload implements java.io.Serializable { |
|
|
|
public BigDecimal getWorkload() { |
|
|
|
return this.workload; |
|
|
|
} |
|
|
|
/** |
|
|
|
* 剩余工时(同一天取最后日期更新到task表rworkload中) |
|
|
|
**/ |
|
|
|
public BigDecimal getRworkload() { |
|
|
|
return this.rworkload; |
|
|
|
} |
|
|
|
/** |
|
|
|
* 创建人姓名 |
|
|
|
**/ |
|
|
|
public String getCusername() { |
|
|
|
return this.cusername; |
|
|
|
} |
|
|
|
/** |
|
|
|
* 归属项目 |
|
|
|
**/ |
|
|
|
public String getProjectId() { |
|
|
|
return this.projectId; |
|
|
|
} |
|
|
|
|
|
|
|
} |