syntax = "proto3";
package Supplyinfo;
option go_package = "./;supplyinfo";
//$ protoc --proto_path=. --go_out=./api/supplyinfo --go-triple_out=./api/supplyinfo ./api/supplyinfo/supplyinfo.proto
service SupplyInfo {
    rpc GetSupplyInfoList (GetSupplyInfoListRequest) returns (GetSupplyInfoListRespond) {}
    rpc GetSupplyInfo (GetSupplyInfoRequest) returns (GetSupplyInfoData) {}
    rpc UpdateSupplyInfo (UpdateSupplyInfoRequest) returns (UpdateSupplyInfoRespond) {}
    rpc GetVideoList(GetVideoListRequest) returns (GetVideoListRespond){} 
    rpc GetVideo(GetVideoRequest) returns (GetVideoListData){}
    rpc UpdateVideo(UpdateVideoRequest) returns (UpdateVideoRespond){}
    rpc GetExamList(GetExamListRequest) returns (GetExamListRespond){} 
    rpc GetExam(GetExamRequest) returns (GetExamListData){}
    rpc UpdateExam(UpdateExamRequest) returns (UpdateExamRespond){}
    rpc GetArtistInfoList(GetArtistInfoListRequest) returns (GetArtistInfoListRespond){} 
    rpc GetArtistInfo(GetArtistInfoRequest) returns (GetArtistInfoListData){}
    rpc UpdateArtistInfo(UpdateArtistInfoRequest) returns (UpdateArtistInfoRespond){}
}



message GetSupplyInfoListRequest {
   uint64 ArtistId = 1  [json_name="artistId"];
   uint64 Types = 2  [json_name="types"];
}

message GetSupplyInfoListRespond {
   repeated  GetSupplyInfoData Data = 1;
}


message GetSupplyInfoData{
   uint64  ID                     =  1   [json_name="id"];
	string  ArtworkId              =  2    [json_name="artworkId"];
	string  ArtistId               =  3    [json_name="artistId"];
	uint64  UserId                 =  4    [json_name="userId"];
	string  Name                   =  5    [json_name="name"];
	string  ModelYear              =  6    [json_name="modelYear"];
	string  Photo                  =  7    [json_name="photo"];
	string  ArtistPhoto            =  8    [json_name="artistPhoto"];
	uint64  Width                  =  9    [json_name="width"];
	uint64  Height                 =  10      [json_name="height"];
	uint64  Ruler                  =  11      [json_name="ruler"];
	string  ExhibitInfo            =  12      [json_name="exhibitInfo"];
	string  ExhibitPic1            =  13      [json_name="exhibitPic1"];
	string  ExhibitPic2            =  14      [json_name="exhibitPic2"];
	string  CreateTime             =  15      [json_name="createTime"];
	string  Introduct              =  16      [json_name="introduct"];
	bool    NetworkTrace           =  17      [json_name="networkTrace"];
	string  CreateAddress          =  18      [json_name="createAddress"];
	string  Url                    =  19      [json_name="url"];
	string  Types                  =  20      [json_name="types"];
	string  Remark                 =  21      [json_name="remark"];
	string  Remark2                =  22      [json_name="remark2"];
	bool    Enable                 =  23      [json_name="enable"];
}




message GetSupplyInfoRequest {
   uint64 Id = 1  [json_name="artistId"];
}


message UpdateSupplyInfoRequest{
   uint64  ID                     =  1   [json_name="id"];
	string  ArtworkId              =  2    [json_name="artworkId"];
	string  ArtistId               =  3    [json_name="artistId"];
	uint64  UserId                 =  4    [json_name="userId"];
	string  Name                   =  5    [json_name="name"];
	string  ModelYear              =  6    [json_name="modelYear"];
	string  Photo                  =  7    [json_name="photo"];
	string  ArtistPhoto            =  8    [json_name="artistPhoto"];
	uint64  Width                  =  9    [json_name="width"];
	uint64  Height                 =  10      [json_name="height"];
	uint64  Ruler                  =  11      [json_name="ruler"];
	string  ExhibitInfo            =  12      [json_name="exhibitInfo"];
	string  ExhibitPic1            =  13      [json_name="exhibitPic1"];
	string  ExhibitPic2            =  14      [json_name="exhibitPic2"];
	string  CreateTime             =  15      [json_name="createTime"];
	string  Introduct              =  16      [json_name="introduct"];
	bool    NetworkTrace           =  17      [json_name="networkTrace"];
	string  CreateAddress          =  18      [json_name="createAddress"];
	string  Url                    =  19      [json_name="url"];
	string  Types                  =  20      [json_name="types"];
	string  Remark                 =  21      [json_name="remark"];
	string  Remark2                =  22      [json_name="remark2"];
	bool    Enable                 =  23      [json_name="enable"];
}

message UpdateSupplyInfoRespond {
  
}





message GetVideoListRequest {
   string  ID       =1 [json_name="id"]; 
	uint64  UserId   =2 [json_name="userId"];
	string  Url      =3 [json_name="url"];
	string  Types    =4 [json_name="types"];
}

message GetVideoListRespond {
   repeated GetVideoListData Data = 1;
}
message GetVideoListData{
   uint64   ID       =  1 [json_name="id"]; 
   uint64  	UserId   =  2 [json_name="userId"]; 
   string	Url      =  3 [json_name="url"]; 
   string	Types    =  4 [json_name="types"]; 
   string	Remark   =  5 [json_name="remark"]; 
   string	Remark2  =  6 [json_name="remark2"]; 
   bool  	Enable   =  7 [json_name="enable"]; 
}
message GetVideoRequest {
   string  ID       =1 [json_name="id"]; 
	uint64  UserId   =2 [json_name="userId"];
	string  Url      =3 [json_name="url"];
	string  Types    =4 [json_name="types"];
}

message UpdateVideoRequest {
   string  ID       =1 [json_name="id"]; 
	uint64  UserId   =2 [json_name="userId"];
	string  Url      =3 [json_name="url"];
	string  Types    =4 [json_name="types"];
}


message UpdateVideoRespond{

}









message GetExamListRequest {
   string  ID       =1 [json_name="id"]; 
	uint64  UserId   =2 [json_name="userId"];
	string  Url      =3 [json_name="url"];
	string  Types    =4 [json_name="types"];
}

message GetExamListRespond {
   repeated GetExamListData Data = 1;
}
message GetExamListData{
   uint64   ID       =  1 [json_name="id"]; 
   uint64  	UserId   =  2 [json_name="userId"]; 
   string	Title      =  3 [json_name="title"]; 
   string	Class    =  4 [json_name="class"];
   uint64 TitleScore = 5 [json_name="titleScore"];
	string Score= 6  [json_name="score"];
	string Types= 7  [json_name="types"];
   string	Remark   =  8 [json_name="remark"]; 
   string	Remark2  =  9 [json_name="remark2"]; 
   bool  	Enable   =  10 [json_name="enable"]; 
}
message GetExamRequest {
	uint64  ID       =  1 [json_name="id"]; 
	uint64  UserId   =  2 [json_name="userId"]; 
	string	Title      =  3 [json_name="title"]; 
	string	Class    =  4 [json_name="class"];
	uint64  TitleScore = 5 [json_name="titleScore"];
	 string Score= 6  [json_name="score"];
	 string Types= 7  [json_name="types"];
	string	Remark   =  8 [json_name="remark"]; 
	string	Remark2  =  9 [json_name="remark2"]; 
	bool  	Enable   =  10 [json_name="enable"]; 
}

message UpdateExamRequest {
	uint64   ID       =  1 [json_name="id"]; 
	uint64  	UserId   =  2 [json_name="userId"]; 
	string	Title      =  3 [json_name="title"]; 
	string	Class    =  4 [json_name="class"];
	uint64 TitleScore = 5 [json_name="titleScore"];
	 string Score= 6  [json_name="score"];
	 string Types= 7  [json_name="types"];
	string	Remark   =  8 [json_name="remark"]; 
	string	Remark2  =  9 [json_name="remark2"]; 
	bool  	Enable   =  10 [json_name="enable"]; 
}


message UpdateExamRespond{
	int32 Percent = 1 [ json_name="percent"]; 
}
message GetArtistInfoListRequest {
   string  ID       =1 [json_name="id"]; 
	uint64  UserId   =2 [json_name="userId"];
	string  Url      =3 [json_name="url"];
	string  Types    =4 [json_name="types"];
}

message GetArtistInfoListRespond {
   repeated GetArtistInfoListData Data = 1;
}
message GetArtistInfoListData{
   uint64   ID       =  1 [json_name="id"]; 
   uint64  	UserId   =  2 [json_name="userId"];
   string ArtistId = 3 [json_name = "artistId"]; 
   string	BankAccount      =  4 [json_name="bankAccount"]; 
   string	BankName    =  5 [json_name="bankName"]; 
   string Introduct = 6 [json_name="introduct"];
   string CountryArtLevel = 7 [json_name="countryArtLevel"];
   string ArtistCertPic = 8 [json_name="artistCertPic"];
   string	Remark   =  9 [json_name="remark"]; 
   string	Remark2  =  10 [json_name="remark2"]; 
   uint64  	State   =  11 [json_name="state"]; 




}
message GetArtistInfoRequest {
    uint64   ID       =  1 [json_name="id"]; 
   uint64  	UserId   =  2 [json_name="userId"];
   string ArtistId = 3 [json_name = "artistId"]; 
   string	BankAccount      =  4 [json_name="bankAccount"]; 
   string	BankName    =  5 [json_name="bankName"]; 
   string Introduct = 6 [json_name="introduct"];
   string CountryArtLevel = 7 [json_name="countryArtLevel"];
   string ArtistCertPic = 8 [json_name="artistCertPic"];
   string	Remark   =  9 [json_name="remark"]; 
   string	Remark2  =  10 [json_name="remark2"]; 
   uint64  	State   =  11 [json_name="state"]; 
}

message UpdateArtistInfoRequest {
	uint64   ID       =  1 [json_name="id"]; 
	uint64  	UserId   =  2 [json_name="userId"];
	string ArtistId = 3 [json_name = "artistId"]; 
	string	BankAccount      =  4 [json_name="bankAccount"]; 
	string	BankName    =  5 [json_name="bankName"]; 
	string Introduct = 6 [json_name="introduct"];
	string CountryArtLevel = 7 [json_name="countryArtLevel"];
	string ArtistCertPic = 8 [json_name="artistCertPic"];
	string	Remark   =  9 [json_name="remark"]; 
	string	Remark2  =  10 [json_name="remark2"]; 
	uint64  	State   =  11 [json_name="state"]; 
}


message UpdateArtistInfoRespond{

}