|
|
|
@ -1,9 +1,13 @@
|
|
|
|
|
package cn.estsh.i3plus.pojo.aps.bean;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.aps.common.BaseAPS;
|
|
|
|
|
import cn.estsh.i3plus.pojo.aps.enums.DYNAMIC_SET_CALC;
|
|
|
|
|
import cn.estsh.i3plus.pojo.aps.enums.DYNAMIC_SET_TYPE;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
|
|
|
|
@ -19,4 +23,35 @@ import javax.persistence.Table;
|
|
|
|
|
@Table(name = "APS_DYNAMIC_SET_TIME")
|
|
|
|
|
@Api("动态设置时间")
|
|
|
|
|
public class DynamicSetTime extends BaseAPS {
|
|
|
|
|
@Column(name="RES_CODE")
|
|
|
|
|
@ApiParam(value ="资源代码")
|
|
|
|
|
private String resCode;
|
|
|
|
|
|
|
|
|
|
@Column(name="TYPE")
|
|
|
|
|
@ApiParam(value ="应用工作计划类型")
|
|
|
|
|
private DYNAMIC_SET_TYPE type;
|
|
|
|
|
|
|
|
|
|
@Column(name="CONSIDER_ASS_RES")
|
|
|
|
|
@ApiParam(value ="是否启用副资源动态设置时间")
|
|
|
|
|
private Boolean considerAssRes;
|
|
|
|
|
|
|
|
|
|
@Column(name="CONSIDER_MATERIAL")
|
|
|
|
|
@ApiParam(value ="是否启用物料动态设置时间")
|
|
|
|
|
private Boolean considerMaterial;
|
|
|
|
|
|
|
|
|
|
@Column(name="ASS_RES_CALC")
|
|
|
|
|
@ApiParam(value ="副资源动态设置计算方式")
|
|
|
|
|
private DYNAMIC_SET_CALC assResCalc;
|
|
|
|
|
|
|
|
|
|
@Column(name="MATERIAL_CALC")
|
|
|
|
|
@ApiParam(value ="物料动态设置时间计算方式")
|
|
|
|
|
private DYNAMIC_SET_CALC materialCalc;
|
|
|
|
|
|
|
|
|
|
@Column(name="STATIC_CALC")
|
|
|
|
|
@ApiParam(value ="与静态设置时间计算方式")
|
|
|
|
|
private DYNAMIC_SET_CALC staticCalc;
|
|
|
|
|
|
|
|
|
|
@Column(name="PRIORITY")
|
|
|
|
|
@ApiParam(value ="优先级")
|
|
|
|
|
private int priority;
|
|
|
|
|
}
|
|
|
|
|