syntax = "proto2";

//抢头条结果
package ThemeResult;


option java_package = "com.miaole.live.protocol.response";
option java_outer_classname = "ThemeResult";

//主题详情
message ThemeInfo{
    optional string id = 1; //主题ID
    optional string title = 2; // 主题名称
    optional string thumb = 3; // 缩略图
    optional int32 labelType =4 ;//0:普通 1: VIP 2: 贵族 3数字藏品
    optional int64 startTime =5;// 开始时间
    optional int64 endTime =6;// 结束时间
    optional int32  sort = 7; //排序
    optional bool selected = 8; //是否使用中
    optional bool enabled = 9; //是否可使用
    optional string cover = 10; // 封面
    optional string skipUrl = 11; // 跳转h5 url（只对labelType=3有效）
    optional bool isMallPurchase = 12; // 是否是商城直售
    optional int64 overTime = 13; // 过期时间
}


//主题列表
message ThemeList{
    repeated ThemeInfo info = 1;
}


message Resource {
    optional string id = 1;//id
    optional string icon1 =2; //icon1 前端自行定义
    optional string icon2 =3; //ionc2
    optional string desc =4; //描述信息
    optional string type = 5; //位置类型
    optional string colour1 = 6 ;// 颜色选中
    optional string colour2 = 7 ;// 颜色未选中
}