pub use sea_orm::entity::prelude::*;

pub mod agents;
pub mod agent_task;
pub mod ai;
pub mod issues;
pub mod projects;
pub mod pull_request;
pub mod repos;
pub mod rooms;
pub mod system;
pub mod users;
pub mod workspaces;
pub use chrono::Utc as UtcClock;

pub use workspaces::{Workspace, WorkspaceRole};
pub type WorkspaceId = Uuid;

pub use agent_task::{AgentType, TaskStatus};
pub type AgentTaskId = i64;
pub type UserId = Uuid;
pub type ProjectId = Uuid;
pub type RepoId = Uuid;
pub type RepoUpStreamId = Uuid;
pub type IssueId = Uuid;
pub type PullRequestId = Uuid;
pub type ModelId = Uuid;
pub type ModelVersionId = Uuid;
pub type ModelProviderId = Uuid;
pub type RoomId = Uuid;
pub type RoomCategoryId = Uuid;
pub type MessageId = Uuid;
pub type RoomThreadId = Uuid;
pub type AiSessionId = Uuid;
pub type Seq = i64;
pub type LabelId = i64;
pub type DateTimeUtc = chrono::DateTime<chrono::Utc>;
