use collab_database::fields::date_type_option::TimeTypeOption;
use flowy_derive::ProtoBuf;

#[derive(Clone, Debug, Default, ProtoBuf)]
pub struct TimeTypeOptionPB {
  #[pb(index = 1)]
  pub dummy: String,
}

impl From<TimeTypeOption> for TimeTypeOptionPB {
  fn from(_data: TimeTypeOption) -> Self {
    Self {
      dummy: "".to_string(),
    }
  }
}

impl From<TimeTypeOptionPB> for TimeTypeOption {
  fn from(_data: TimeTypeOptionPB) -> Self {
    Self
  }
}

#[derive(Clone, Debug, Default, ProtoBuf)]
pub struct TimeCellDataPB {
  #[pb(index = 2)]
  pub time: i64,
}
