| | |
| | | @TableName("mdm_machine_file") |
| | | public class MachineFile extends BizEntity { |
| | | /** |
| | | * 正常状态,刚接收 |
| | | */ |
| | | public static final int STATUS_NORMAL = 0; |
| | | /** |
| | | * 用户接收了 |
| | | */ |
| | | public static final int STATUS_ACCEPTED = 1; |
| | | /** |
| | | * 用户拒绝接收 |
| | | */ |
| | | public static final int STATUS_REJECTED = 2; |
| | | /** |
| | | * 文件被清除(被定时任务标记) |
| | | */ |
| | | public static final int STATUS_REMOVED = 3; |
| | | /** |
| | | * 节点类型: REC目录 |
| | | */ |
| | | public static final String DIR_TYPE_REC = "REC"; |
| | |
| | | //disp = StringUtils.replace(disp,"bytes","字节"); |
| | | return disp; |
| | | } |
| | | |
| | | /** |
| | | * 标记文件已经删除 |
| | | */ |
| | | public void markFileDeleted() { |
| | | this.setStatus(STATUS_REMOVED); |
| | | } |
| | | } |