Files.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /*
  2. * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions are met:
  6. *
  7. * Redistributions of source code must retain the above copyright notice,
  8. * this list of conditions and the following disclaimer.
  9. * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * Neither the name of the dreamlu.net developer nor the names of its
  13. * contributors may be used to endorse or promote products derived from
  14. * this software without specific prior written permission.
  15. * Author: Chill 庄骞 (smallchill@163.com)
  16. */
  17. package com.trade.finance.entity;
  18. import com.baomidou.mybatisplus.annotation.TableId;
  19. import com.baomidou.mybatisplus.annotation.TableLogic;
  20. import com.baomidou.mybatisplus.annotation.TableName;
  21. import java.time.LocalDateTime;
  22. import java.io.Serializable;
  23. import java.util.Date;
  24. import lombok.Data;
  25. import lombok.EqualsAndHashCode;
  26. import io.swagger.annotations.ApiModel;
  27. import io.swagger.annotations.ApiModelProperty;
  28. /**
  29. * 结算文件实体类
  30. *
  31. * @author BladeX
  32. * @since 2021-11-03
  33. */
  34. @Data
  35. @TableName("finance_files")
  36. @ApiModel(value = "Files对象", description = "结算文件")
  37. public class Files implements Serializable {
  38. private static final long serialVersionUID = 1L;
  39. /**
  40. * 主键
  41. */
  42. @ApiModelProperty(value = "主键")
  43. @TableId
  44. private Long id;
  45. /**
  46. * 主表id
  47. */
  48. @ApiModelProperty(value = "主表id")
  49. private Long pid;
  50. /**
  51. * 排序
  52. */
  53. @ApiModelProperty(value = "排序")
  54. private Integer sort;
  55. /**
  56. * 文件名
  57. */
  58. @ApiModelProperty(value = "文件名")
  59. private String fileName;
  60. /**
  61. * 文件地址
  62. */
  63. @ApiModelProperty(value = "文件地址")
  64. private String url;
  65. /**
  66. * 备注
  67. */
  68. @ApiModelProperty(value = "备注")
  69. private String remarks;
  70. /**
  71. * 版本
  72. */
  73. @ApiModelProperty(value = "版本")
  74. private String version;
  75. /**
  76. * 创建人
  77. */
  78. @ApiModelProperty(value = "创建人")
  79. private Long createUser;
  80. /**
  81. * 创建部门
  82. */
  83. @ApiModelProperty(value = "创建部门")
  84. private Long createDept;
  85. /**
  86. * 创建时间
  87. */
  88. @ApiModelProperty(value = "创建时间")
  89. private Date createTime;
  90. /**
  91. * 修改人
  92. */
  93. @ApiModelProperty(value = "修改人")
  94. private Long updateUser;
  95. /**
  96. * 修改时间
  97. */
  98. @ApiModelProperty(value = "修改时间")
  99. private Date updateTime;
  100. /**
  101. * 状态(0 正常 1停用)
  102. */
  103. @ApiModelProperty(value = "状态(0 正常 1停用)")
  104. private Integer status;
  105. /**
  106. * 是否已删除(0 否 1是)
  107. */
  108. @ApiModelProperty(value = "是否已删除(0 否 1是)")
  109. @TableLogic
  110. private Integer isDeleted;
  111. @ApiModelProperty(value = "租户id")
  112. private String tenantId;
  113. }