Skip to content

Commit

Permalink
Fixed donwload RawCosvFile (#2934)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheshiriks authored Mar 5, 2024
1 parent 8a83139 commit 8fcad06
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import kotlinx.datetime.toKotlinLocalDateTime
@Table(schema = "cosv", name = "raw_cosv_file")
@Suppress("LongParameterList")
class RawCosvFile(
@Column(name = "file_name")
var fileName: String,
@Column(name = "user_id")
var userId: Long,
Expand All @@ -39,9 +40,13 @@ class RawCosvFile(
var status: RawCosvFileStatus,
@Formula("LOWER(file_name) LIKE '%_$ZIP_ARCHIVE_EXTENSION'")
var isZip: Boolean? = null,
@Column(name = "status_message")
var statusMessage: String? = null,
@Column(name = "content_length")
var contentLength: Long? = null,
@Column(name = "create_date")
override var createDate: LocalDateTime? = null,
@Column(name = "update_date")
override var updateDate: LocalDateTime? = null,
) : BaseEntityWithDtoWithId<RawCosvFileDto>(), IBaseEntityWithDate {
override fun toDto(): RawCosvFileDto = RawCosvFileDto(
Expand Down

0 comments on commit 8fcad06

Please sign in to comment.