Skip to content

Commit 8fcad06

Browse files
authored
Fixed donwload RawCosvFile (#2934)
1 parent 8a83139 commit 8fcad06

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • save-cloud-common/src/jvmMain/kotlin/com/saveourtool/save/entitiescosv

save-cloud-common/src/jvmMain/kotlin/com/saveourtool/save/entitiescosv/RawCosvFile.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import kotlinx.datetime.toKotlinLocalDateTime
3030
@Table(schema = "cosv", name = "raw_cosv_file")
3131
@Suppress("LongParameterList")
3232
class RawCosvFile(
33+
@Column(name = "file_name")
3334
var fileName: String,
3435
@Column(name = "user_id")
3536
var userId: Long,
@@ -39,9 +40,13 @@ class RawCosvFile(
3940
var status: RawCosvFileStatus,
4041
@Formula("LOWER(file_name) LIKE '%_$ZIP_ARCHIVE_EXTENSION'")
4142
var isZip: Boolean? = null,
43+
@Column(name = "status_message")
4244
var statusMessage: String? = null,
45+
@Column(name = "content_length")
4346
var contentLength: Long? = null,
47+
@Column(name = "create_date")
4448
override var createDate: LocalDateTime? = null,
49+
@Column(name = "update_date")
4550
override var updateDate: LocalDateTime? = null,
4651
) : BaseEntityWithDtoWithId<RawCosvFileDto>(), IBaseEntityWithDate {
4752
override fun toDto(): RawCosvFileDto = RawCosvFileDto(

0 commit comments

Comments
 (0)