some changes

This commit is contained in:
gowthaman
2024-05-08 07:39:40 +05:30
parent dac0fcb85b
commit c80a347bef
5 changed files with 43 additions and 17 deletions

View File

@@ -14,7 +14,7 @@ import javax.persistence.*
data class Comments(val text: String = "", val by: String = "", val at: LocalDateTime = LocalDateTime.now())
data class POProducts(
val productId: String = "",
val productId: Long = 0,
val productName: String = "",
val unitPrice: Double = 0.0,
val quantity: Double = 0.0,
@@ -344,7 +344,8 @@ open class Product : BaseTenantModel() {
this.gstPct = updatedProduct.gstPct
}
var id: String? = null
@Column(name = "id")
var code: String? = null
var name: String = ""
var description: String = ""
var hsnCode: String = ""