| package com.doumee.dao.business.model; | 
|   | 
| import com.baomidou.mybatisplus.annotation.TableField; | 
| import com.doumee.core.annotation.excel.ExcelColumn; | 
| import com.doumee.core.constants.OperaType; | 
| import com.doumee.core.model.LoginUserModel; | 
| import com.doumee.dao.business.vo.EditRecordDataVO; | 
| import com.doumee.dao.system.model.Multifile; | 
| import io.swagger.annotations.ApiModel; | 
| import io.swagger.annotations.ApiModelProperty; | 
| import com.baomidou.mybatisplus.annotation.IdType; | 
| import com.baomidou.mybatisplus.annotation.TableId; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
| import lombok.Data; | 
| import com.fasterxml.jackson.annotation.JsonFormat; | 
|   | 
| import javax.validation.constraints.NotBlank; | 
| import java.util.Date; | 
| import java.math.BigDecimal; | 
| import java.util.List; | 
|   | 
| /** | 
|  * 运维合同收支流水 | 
|  * @author 江蹄蹄 | 
|  * @date 2024/11/25 10:29 | 
|  */ | 
| @Data | 
| @ApiModel("运维合同收支流水") | 
| @TableName("`yw_contract_revenue`") | 
| public class YwContractRevenue extends LoginUserModel { | 
|   | 
|     @TableId(type = IdType.AUTO) | 
|     @ApiModelProperty(value = "主键", example = "1") | 
|     private Integer id; | 
|   | 
|     @ApiModelProperty(value = "创建人编码", example = "1") | 
|     private Integer creator; | 
|   | 
|     @ApiModelProperty(value = "创建时间") | 
|     @ExcelColumn(name="创建日期",index = 8,width = 10,dateFormat = "yyyy-MM-dd HH:mm:ss") | 
|     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
|     private Date createDate; | 
|   | 
|     @ApiModelProperty(value = "更新人编码", example = "1") | 
|     private Integer editor; | 
|   | 
|     @ApiModelProperty(value = "更新时间") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date editDate; | 
|   | 
|     @ApiModelProperty(value = "是否删除0否 1是", example = "1") | 
|     private Integer isdeleted; | 
|   | 
|     @ApiModelProperty(value = "备注") | 
|     private String remark; | 
|   | 
|     @ApiModelProperty(value = "状态 0=开启;1=关闭", example = "1") | 
|     @ExcelColumn(name="状态",index = 10,width = 10,valueMapping = "0=开启;1=关闭") | 
|     private Integer status; | 
|   | 
|     @ApiModelProperty(value = "发生金额", example = "1") | 
|     @ExcelColumn(name="发生金额",index = 5,width = 10) | 
|     private BigDecimal actReceivableFee; | 
|   | 
|     @ApiModelProperty(value = "实际付款日") | 
|     @ExcelColumn(name="入账日期",index = 7,width = 10,dateFormat = "yyyy-MM-dd") | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date actPayDate; | 
|   | 
|     @ApiModelProperty(value = "付款类型:0=现金;1=网银转账;2=POS机;3=支付宝;4=微信;5=转账支票;6=其他", example = "1") | 
|     @ExcelColumn(name="收款方式",index = 6,width = 10,valueMapping = "0=现金;1=网银转账;2=POS机;3=支付宝;4=微信;5=转账支票;6=其他;") | 
|     private Integer payType; | 
|   | 
|     @ApiModelProperty(value = "所属公司(关联 company)", example = "1") | 
|     private Integer companyId; | 
|   | 
|     @ApiModelProperty(value = "收支账户(关联yw_account)", example = "1") | 
|     private Integer accountId; | 
|   | 
|     @ApiModelProperty(value = "合同主键(关联yw_contract)", example = "1") | 
|     private Integer contractId; | 
|   | 
|     @ApiModelProperty(value = "账单主键(关联yw_contract_bill)", example = "1") | 
|     private Integer billId; | 
|   | 
|     @ApiModelProperty(value = "收支类型:0=收入;1=支出", example = "1") | 
|     @ExcelColumn(name="收支类型",index = 4,width = 10,valueMapping = "0=收入;1=支出") | 
|     private Integer revenueType; | 
|   | 
|   | 
|     @ApiModelProperty(value = "合同编号", example = "1") | 
|     @ExcelColumn(name="合同编号",index = 1,width = 10) | 
|     @TableField(exist = false) | 
|     private String contractCode; | 
|     @ApiModelProperty(value = "合同狀態", example = "1") | 
|     @TableField(exist = false) | 
|     private String contractStatus; | 
|   | 
|   | 
|     @ApiModelProperty(value = "客户名称(付款方)", example = "1") | 
|     @ExcelColumn(name="客户名称",index = 0,width = 10) | 
|     @TableField(exist = false) | 
|     private String customerName; | 
|   | 
|     @ApiModelProperty(value = "流水账号") | 
|     @TableField(exist = false) | 
|     private String accountTitle; | 
|   | 
|   | 
|     @ApiModelProperty(value = "账单类型", example = "1" , hidden = true) | 
|     @TableField(exist = false) | 
|     private Integer billType; | 
|   | 
|   | 
|     @ApiModelProperty(value = "创建人名称") | 
|     @ExcelColumn(name="创建人",index = 9,width = 10) | 
|     @TableField(exist = false) | 
|     private String realname; | 
|   | 
|     @ApiModelProperty(value = "关联房间数据", example = "1") | 
|     @TableField(exist = false) | 
|     private List<YwContractRoom> ywContractRoomList; | 
|   | 
|   | 
|     @ApiModelProperty(value = "附件信息", example = "1") | 
|     @TableField(exist = false) | 
|     private List<Multifile> multifileList; | 
|   | 
|     @ApiModelProperty(value = "入账日期 - 开始") | 
|     @TableField(exist = false) | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date payDateStart; | 
|   | 
|     @ApiModelProperty(value = "入账日期 - 结束") | 
|     @TableField(exist = false) | 
|     @JsonFormat(pattern = "yyyy-MM-dd") | 
|     private Date payDateEnd; | 
|   | 
|     @ApiModelProperty(value = "楼宇房间", example = "1") | 
|     @ExcelColumn(name="房号",index = 2,width = 10) | 
|     @TableField(exist = false) | 
|     private String roomPathName; | 
|   | 
|     @ApiModelProperty(value = "账单编号", example = "1") | 
|     @ExcelColumn(name="账单编号",index = 3,width = 16) | 
|     @TableField(exist = false) | 
|     private String billCode; | 
|   | 
|     @ApiModelProperty(value = "操作记录", example = "1") | 
|     @TableField(exist = false) | 
|     private List<EditRecordDataVO> editRecordDataVOList; | 
|   | 
| } |