| | |
| | | */ |
| | | @ApiModelProperty(value= "项目ID,关联man_order表主键") |
| | | @TableField("order_id") |
| | | private Integer orderId; |
| | | private Long orderId; |
| | | |
| | | /** |
| | | * 税率 |
| | | */ |
| | | @ApiModelProperty(value= "税率") |
| | | @TableField("tax_rate") |
| | | private Long taxRate; |
| | | private Double taxRate; |
| | | |
| | | /** |
| | | * 未税本币金额 |
| | | */ |
| | | @ApiModelProperty(value= "未税本币金额") |
| | | @TableField("untaxed_amount_in_local_currency") |
| | | private Long untaxedAmountInLocalCurrency; |
| | | private Double untaxedAmountInLocalCurrency; |
| | | |
| | | /** |
| | | * 未税金额 |
| | | */ |
| | | @ApiModelProperty(value= "未税金额") |
| | | @TableField("untaxed_amount") |
| | | private Long untaxedAmount; |
| | | private Double untaxedAmount; |
| | | |
| | | /** |
| | | * 税额 |
| | | */ |
| | | @ApiModelProperty(value= "税额") |
| | | @TableField("tax_amount") |
| | | private Long taxAmount; |
| | | private Double taxAmount; |
| | | |
| | | /** |
| | | * 发票金额 |
| | | */ |
| | | @ApiModelProperty(value= "发票金额") |
| | | @TableField("invoice_value") |
| | | private Long invoiceValue; |
| | | private Double invoiceValue; |
| | | |
| | | /** |
| | | * 发票本币金额 |
| | | */ |
| | | @ApiModelProperty(value= "发票本币金额") |
| | | @TableField("invoice_amount_in_local_currency") |
| | | private Long invoiceAmountInLocalCurrency; |
| | | private Double invoiceAmountInLocalCurrency; |
| | | |
| | | /** |
| | | * 报销比例 |
| | | */ |
| | | @ApiModelProperty(value= "报销比例") |
| | | @TableField("reimbursement_ratio") |
| | | private Long reimbursementRatio; |
| | | private Double reimbursementRatio; |
| | | |
| | | /** |
| | | * 报销金额 |
| | | */ |
| | | @ApiModelProperty(value= "报销金额") |
| | | @TableField("reimbursement_amount") |
| | | private Long reimbursementAmount; |
| | | private Double reimbursementAmount; |
| | | |
| | | /** |
| | | * 报销本币金额 |
| | | */ |
| | | @ApiModelProperty(value= "报销本币金额") |
| | | @TableField("reimbursement_amount_in_local_currency") |
| | | private Long reimbursementAmountInLocalCurrency; |
| | | private Double reimbursementAmountInLocalCurrency; |
| | | |
| | | /** |
| | | * 出纳确认金额 |
| | | */ |
| | | @ApiModelProperty(value= "出纳确认金额") |
| | | @TableField("cashier_confirmation_amount") |
| | | private Long cashierConfirmationAmount; |
| | | private Double cashierConfirmationAmount; |
| | | |
| | | /** |
| | | * 出纳币种 |
| | |
| | | |
| | | public ReimburseOnlineDetl() {} |
| | | |
| | | public ReimburseOnlineDetl(String occupation,Integer expenseType,Integer userId,Integer deptId,Integer hostId,Integer orderId,Long taxRate,Long untaxedAmountInLocalCurrency,Long untaxedAmount,Long taxAmount,Long invoiceValue,Long invoiceAmountInLocalCurrency,Long reimbursementRatio,Long reimbursementAmount,Long reimbursementAmountInLocalCurrency,Long cashierConfirmationAmount,Integer cashierCurrency,Date departureTime,Date updateTime,Integer updateUserId,String updateUserName,Date creationTime,Integer creationUserId,String creationUserName,Integer reimburseId) { |
| | | public ReimburseOnlineDetl(String occupation,Integer expenseType,Integer userId,Integer deptId,Integer hostId,Long orderId,Double taxRate,Double untaxedAmountInLocalCurrency,Double untaxedAmount,Double taxAmount,Double invoiceValue,Double invoiceAmountInLocalCurrency,Double reimbursementRatio,Double reimbursementAmount,Double reimbursementAmountInLocalCurrency,Double cashierConfirmationAmount,Integer cashierCurrency,Date departureTime,Date updateTime,Integer updateUserId,String updateUserName,Date creationTime,Integer creationUserId,String creationUserName,Integer reimburseId) { |
| | | this.occupation = occupation; |
| | | this.expenseType = expenseType; |
| | | this.userId = userId; |
| | |
| | | public ReimburseOnlineDetl(Integer reminburseCostTypeId) { |
| | | this.occupation = ""; |
| | | this.expenseType = reminburseCostTypeId; |
| | | this.taxRate = (long)0.0; |
| | | this.untaxedAmountInLocalCurrency = (long)0.0; |
| | | this.untaxedAmount = (long)0.0; |
| | | this.taxAmount = (long)0.0; |
| | | this.invoiceValue = (long)0.0; |
| | | this.invoiceAmountInLocalCurrency = (long)0.0; |
| | | this.reimbursementRatio = (long)0.0; |
| | | this.reimbursementAmount = (long)0.0; |
| | | this.reimbursementAmountInLocalCurrency = (long)0.0; |
| | | this.cashierConfirmationAmount = (long)0.0; |
| | | this.taxRate = 0.0; |
| | | this.untaxedAmountInLocalCurrency = 0.0; |
| | | this.untaxedAmount = 0.0; |
| | | this.taxAmount = 0.0; |
| | | this.invoiceValue = 0.0; |
| | | this.invoiceAmountInLocalCurrency = 0.0; |
| | | this.reimbursementRatio = 0.0; |
| | | this.reimbursementAmount = 0.0; |
| | | this.reimbursementAmountInLocalCurrency = 0.0; |
| | | this.cashierConfirmationAmount = 0.0; |
| | | } |
| | | |
| | | |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.creationTime); |
| | | } |
| | | |
| | | public void setTaxRate(String taxRate){ |
| | | String[] splitTaxRate = taxRate.split("%"); |
| | | this.taxRate=Double.parseDouble(splitTaxRate[0]); |
| | | } |
| | | |
| | | public void setTaxRate(Double taxRate){ |
| | | this.taxRate=taxRate; |
| | | } |
| | | |
| | | public String getTaxRate$(){ |
| | | return taxRate.toString()+"%"; |
| | | } |
| | | |
| | | public void setReimbursementRatio(String reimbursementRatio){ |
| | | String[] splitReimbursementRatio = reimbursementRatio.split("%"); |
| | | this.reimbursementRatio=Double.parseDouble(splitReimbursementRatio[0]); |
| | | } |
| | | |
| | | public void setReimbursementRatio(Double reimbursementRatio){ |
| | | this.reimbursementRatio=reimbursementRatio; |
| | | } |
| | | |
| | | public String getReimbursementRatio$(){ |
| | | return reimbursementRatio.toString()+"%"; |
| | | } |
| | | |
| | | } |