| | |
| | | private String files; |
| | | |
| | | /** |
| | | * 状态 1: 正常 0: 禁用 |
| | | * 项目状态{0:跟踪中,1:完成,2:关闭} |
| | | */ |
| | | @ApiModelProperty(value= "状态 1: 正常 0: 禁用 ") |
| | | @ApiModelProperty(value= "项目状态{0:跟踪中,1:完成,2:关闭}") |
| | | private Integer status; |
| | | |
| | | /** |
| | |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | private Date updateTime; |
| | | |
| | | |
| | | @ApiModelProperty(value= "项目进度流程{1:项目创建,2:核价处理,3:产品费用明细,4:报价预算单,5:报价单}") |
| | | @TableField("step") |
| | | private int step; |
| | | |
| | | |
| | | /** |
| | | * 注释 |
| | | */ |
| | |
| | | |
| | | public Order() {} |
| | | |
| | | public Order(Long hostId,Long deptId,Long userId,Long cstmrId,String uuid,String name,Double money,Long company,String remarks,Long director,String province,String city,String district,String town,String addr,String files,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { |
| | | public Order(Long hostId,Long deptId,Long userId,Long cstmrId,String uuid,String name,Double money,Long company,String remarks,Long director,String province,String city,String district,String town,String addr,String files,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,Integer step,String memo) { |
| | | this.hostId = hostId; |
| | | this.deptId = deptId; |
| | | this.userId = userId; |
| | |
| | | this.createTime = createTime; |
| | | this.updateBy = updateBy; |
| | | this.updateTime = updateTime; |
| | | this.step = step; |
| | | this.memo = memo; |
| | | } |
| | | |
| | |
| | | public String getStatus$(){ |
| | | if (null == this.status){ return null; } |
| | | switch (this.status){ |
| | | case 1: |
| | | return "正常"; |
| | | case 0: |
| | | return "禁用"; |
| | | return "跟踪中"; |
| | | case 1: |
| | | return "完成"; |
| | | case 2: |
| | | return "关闭"; |
| | | default: |
| | | return String.valueOf(this.status); |
| | | } |
| | |
| | | if (Cools.isEmpty(this.createTime)){ |
| | | return ""; |
| | | } |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime); |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm").format(this.createTime); |
| | | } |
| | | |
| | | public String getUpdateBy$(){ |
| | |
| | | if (Cools.isEmpty(this.updateTime)){ |
| | | return ""; |
| | | } |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime); |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm").format(this.updateTime); |
| | | } |
| | | |
| | | @TableField(exist = false) |