package com.gestoreasy.database.entities

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "clients")
data class Client(
    @PrimaryKey
    val id: Long,
    val nome: String,
    val tipo: String, // "F" ou "J"
    val cpf_cnpj: String?,
    val email: String?,
    val telefone: String?,
    val endereco: String?,
    val cidade: String?,
    val estado: String?,
    val cep: String?,
    val latitude: Double? = null,
    val longitude: Double? = null,
    val ativo: Boolean = true,
    val last_sync: Long = System.currentTimeMillis(),
    val needs_sync: Boolean = false
)

