//! Contact group (label / category). v1 has minimal groups support: the
//! tables exist and basic membership management works, but groups are not
//! exposed via D-Bus or CardDAV yet — that lands in v2 along with vCard
//! `CATEGORIES` round-trip.

#[ derive( Debug, Clone, PartialEq, Eq ) ]
pub struct Group
{
	pub id: i64,
	pub title: String,
	pub notes: Option<String>,
	pub system_id: Option<String>,
	pub deleted: bool,
	pub created_at: i64,
	pub updated_at: i64,
}

#[ derive( Debug, Clone ) ]
pub struct NewGroup
{
	pub title: String,
	pub notes: Option<String>,
	pub system_id: Option<String>,
}
