| | |
| | | private String docName; |
| | | |
| | | /** |
| | | * 单据类别 1: 入库单 2: 出库单 |
| | | */ |
| | | @ApiModelProperty(value= "单据类别 1: 入库单 2: 出库单 ") |
| | | @TableField("doc_class") |
| | | private Integer docClass; |
| | | |
| | | /** |
| | | * 状态 1: 正常 0: 禁用 |
| | | */ |
| | | @ApiModelProperty(value= "状态 1: 正常 0: 禁用 ") |
| | |
| | | |
| | | public DocType() {} |
| | | |
| | | public DocType(Long hostId, Long docId,String docName,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { |
| | | public DocType(Long hostId, Long docId,String docName,Integer docClass, Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { |
| | | this.hostId = hostId; |
| | | this.docId = docId; |
| | | this.docName = docName; |
| | | this.docClass = docClass; |
| | | this.status = status; |
| | | this.createBy = createBy; |
| | | this.createTime = createTime; |
| | |
| | | this.docName = docName; |
| | | } |
| | | |
| | | public Integer getDocClass() { |
| | | return docClass; |
| | | } |
| | | public String getDocClass$(){ |
| | | if (null == this.docClass){ return null; } |
| | | switch (this.docClass){ |
| | | case 1: |
| | | return "入库单"; |
| | | case 2: |
| | | return "出库单"; |
| | | default: |
| | | return String.valueOf(this.docClass); |
| | | } |
| | | } |
| | | public void setDocClass(Integer docClass) { |
| | | this.docClass = docClass; |
| | | } |
| | | |
| | | public Integer getStatus() { |
| | | return status; |
| | | } |