some changes
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user