/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package com.trade.finance.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; import java.time.LocalDateTime; import java.io.Serializable; import java.util.Date; import lombok.Data; import lombok.EqualsAndHashCode; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; /** * 结算文件实体类 * * @author BladeX * @since 2021-11-03 */ @Data @TableName("finance_files") @ApiModel(value = "Files对象", description = "结算文件") public class Files implements Serializable { private static final long serialVersionUID = 1L; /** * 主键 */ @ApiModelProperty(value = "主键") @TableId private Long id; /** * 主表id */ @ApiModelProperty(value = "主表id") private Long pid; /** * 排序 */ @ApiModelProperty(value = "排序") private Integer sort; /** * 文件名 */ @ApiModelProperty(value = "文件名") private String fileName; /** * 文件地址 */ @ApiModelProperty(value = "文件地址") private String url; /** * 备注 */ @ApiModelProperty(value = "备注") private String remarks; /** * 版本 */ @ApiModelProperty(value = "版本") private String version; /** * 创建人 */ @ApiModelProperty(value = "创建人") private Long createUser; /** * 创建部门 */ @ApiModelProperty(value = "创建部门") private Long createDept; /** * 创建时间 */ @ApiModelProperty(value = "创建时间") private Date createTime; /** * 修改人 */ @ApiModelProperty(value = "修改人") private Long updateUser; /** * 修改时间 */ @ApiModelProperty(value = "修改时间") private Date updateTime; /** * 状态(0 正常 1停用) */ @ApiModelProperty(value = "状态(0 正常 1停用)") private Integer status; /** * 是否已删除(0 否 1是) */ @ApiModelProperty(value = "是否已删除(0 否 1是)") @TableLogic private Integer isDeleted; @ApiModelProperty(value = "租户id") private String tenantId; }