Commit 5f0cf9f2 authored by xuwencheng's avatar xuwencheng

store

parent 143e3289
......@@ -18,4 +18,22 @@ impl LoginInfo {
pub fn is_dinner(&self) -> bool {
self.brand_type == 70
}
}
#[derive(Debug, Clone, Deserialize, Serialize, Default)]
pub struct StoreInfo {
// 集团id
pub group_id: i64,
// 店铺id
pub seller_id: i64,
// 门店id
pub store_id: i64,
// 店铺类型
pub brand_type: i32,
}
impl StoreInfo {
pub fn is_dinner(&self) -> bool {
self.brand_type == 70
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment