| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091 |
- using Newtonsoft.Json;
- using System.Text.Json.Serialization;
- namespace ConvertLog.common
- {
- public class CommonObj
- {
- public CommonObj()
- {
-
- }
- }
- public class LoginResponse
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("fullName")]
- public string fullName { get; set; }
- [JsonProperty("role")]
- public string role { get; set; }
- [JsonProperty("isActive")]
- public string isActive { get; set; }
- }
- public class structPrizeObj
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("code")]
- public string code { get; set; }
- [JsonProperty("name")]
- public string name { get; set; }
- [JsonProperty("display")]
- public string display { get; set; }
- [JsonProperty("money")]
- public string money { get; set; }
- [JsonProperty("groupId")]
- public string groupId { get; set; }
- [JsonProperty("groupName")]
- public string groupName { get; set; }
- }
- public class structPrizeDisPlayObj: structPrizeObj
- {
- [JsonProperty("totalDrawThisMonth")]
- public string totalDrawThisMonth { get; set; }
- [JsonProperty("totalMoneyThisMonth")]
- public string totalMoneyThisMonth { get; set; }
- [JsonProperty("totalDrawPreviousMonth")]
- public string totalDrawPreviousMonth { get; set; }
- [JsonProperty("totalMoneyPreviousMonth")]
- public string totalMoneyPreviousMonth { get; set; }
- [JsonProperty("totalDrawThisMonthMore")]
- public string totalDrawThisMonthMore { get; set; }
- [JsonProperty("totalMoneyThisMonthMore")]
- public string totalMoneyThisMonthMore { get; set; }
- [JsonProperty("unitOfPrize")]
- public string unitOfPrize { get; set; }
- [JsonProperty("length")]
- public string length { get; set; }
- [JsonProperty("unitOfPrizeThisMonth")]
- public string unitOfPrizeThisMonth { get; set; }
- [JsonProperty("unitOfPrizePreviousMonth")]
- public string unitOfPrizePreviousMonth { get; set; }
- [JsonProperty("unitOfPrizeThisMonthMore")]
- public string unitOfPrizeThisMonthMore { get; set; }
- }
- public class prizeOfTermObj
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("termId")]
- public string termId { get; set; }
- [JsonProperty("prizeId")]
- public string prizeId { get; set; }
- [JsonProperty("prizeName")]
- public string prizeName { get; set; }
- [JsonProperty("prizeDisplay")]
- public string prizeDisplay { get; set; }
- [JsonProperty("prizeDisplayNew")]
- public string prizeDisplayNew { get; set; }
- [JsonProperty("groupId")]
- public string groupId { get; set; }
- [JsonProperty("groupName")]
- public string groupName { get; set; }
- [JsonProperty("prizeMoney")]
- public string prizeMoney { get; set; }
- [JsonProperty("prizeType")]
- public string prizeType { get; set; }
- [JsonProperty("prizeStatus")]
- public string prizeStatus { get; set; }
- [JsonProperty("drawStatus")]
- public string drawStatus { get; set; }
- [JsonProperty("totalDraw")]
- public string totalDraw { get; set; }
- [JsonProperty("totalDrawAll")]
- public string totalDrawAll { get; set; }
- [JsonProperty("totalDrawAccept")]
- public string totalDrawAccept { get; set; }
- [JsonProperty("totalDrawAcceptOrder")]
- public string totalDrawAcceptOrder { get; set; }
- [JsonProperty("totalDrawRemain")]
- public string totalDrawRemain { get; set; }
- [JsonProperty("totalDrawReject")]
- public string totalDrawReject { get; set; }
- [JsonProperty("totalDrawClear")]
- public string totalDrawClear { get; set; }
- [JsonProperty("totalDrawSold")]
- public string totalDrawSold { get; set; }
- [JsonProperty("totalDrawUnsold")]
- public string totalDrawUnsold { get; set; }
- [JsonProperty("totalDrawUnprint")]
- public string totalDrawUnprint { get; set; }
- [JsonProperty("prResult")]
- public string prResult { get; set; }
-
- [JsonProperty("prResultStatus")]
- public string prResultStatus { get; set; }
- [JsonProperty("prResultStatusMsg")]
- public string prResultStatusMsg { get; set; }
- [JsonProperty("prTotalSold")]
- public string prTotalSold { get; set; }
- [JsonProperty("prTotalUnsold")]
- public string prTotalUnsold { get; set; }
- [JsonProperty("prStrReplace")]
- public string prStrReplace { get; set; }
- [JsonProperty("prStrLength")]
- public string prStrLength { get; set; }
- [JsonProperty("prIsMore")]
- public string prIsMore { get; set; }
- [JsonProperty("prWaiwaiStrResult")]
- public string prWaiwaiStrResult { get; set; }
- [JsonProperty("nowResult")]
- public string nowResult { get; set; }
- [JsonProperty("nowResultEn")]
- public string nowResultEn { get; set; }
- [JsonProperty("nowResultStatus")]
- public string nowResultStatus { get; set; }
- [JsonProperty("nowResultStatusMsg")]
- public string nowResultStatusMsg { get; set; }
- [JsonProperty("nowTotalSold")]
- public string nowTotalSold { get; set; }
- [JsonProperty("nowTotalUnsold")]
- public string nowTotalUnsold { get; set; }
- [JsonProperty("nowStrReplace")]
- public string nowStrReplace { get; set; }
- [JsonProperty("nowStrLength")]
- public string nowStrLength { get; set; }
-
-
- [JsonProperty("nowIsMore")]
- public string nowIsMore { get; set; }
-
- [JsonProperty("nowWaiwaiStrResult")]
- public string nowWaiwaiStrResult { get; set; }
- [JsonProperty("termOnline")]
- public string termOnline { get; set; }
- [JsonProperty("totalMoreDraw")]
- public string totalMoreDraw { get; set; }
- [JsonProperty("prizeOrder")]
- public string prizeOrder { get; set; }
- [JsonProperty("prizeUnit")]
- public string prizeUnit { get; set; }
- [JsonProperty("timeUpdateResult")]
- public string timeUpdateResult { get; set; }
- [JsonProperty("secondWating")]
- public string secondWating { get; set; }
- [JsonProperty("status")]
- public string status { get; set; }
- }
- public class prizeInReqeustObj
- {
- [JsonProperty("termId")]
- public string termId { get; set; }
- [JsonProperty("type")]
- public string type { get; set; }
- [JsonProperty("data")]
- public List<prizeInObj> data { get; set; }
- }
- public class prizeInObj
- {
- //code
- [JsonProperty("prizeId")]
- public string prizeId { get; set; }
- [JsonProperty("totalDraw")]
- public string totalDraw { get; set; }
- //Nhung truong sau day them moi
- [JsonProperty("prizeTypeId")]
- public string prizeTypeId { get; set; }
- [JsonProperty("prizeTypeName")]
- public string prizeTypeName { get; set; }
- [JsonProperty("prizeMoney")]
- public string prizeMoney { get; set; }
- [JsonProperty("prizeCode")]
- public string prizeCode { get; set; }
- [JsonProperty("prizeNameEn")]
- public string prizeNameEn { get; set; }
- [JsonProperty("prizeNameMy")]
- public string prizeNameMy { get; set; }
- [JsonProperty("prizeNumBall")]
- public string prizeNumBall { get; set; }
- [JsonProperty("prizeNum")]
- public string prizeNum { get; set; }
- [JsonProperty("prizeTermIdIrd")]
- public string prizeTermIdIrd { get; set; }
- [JsonProperty("prizeOrder")]
- public string prizeOrder { get; set; }
- }
- public class uploadObj
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("termId")]
- public string termId { get; set; }
- [JsonProperty("type")]
- public string type { get; set; }
- [JsonProperty("createDate")]
- public string createDate { get; set; }
- [JsonProperty("status")]
- public string status { get; set; }
- [JsonProperty("totalFile")]
- public string totalFile { get; set; }
- [JsonProperty("totalRecord")]
- public string totalRecord { get; set; }
- [JsonProperty("totalSuccess")]
- public string totalSuccess { get; set; }
- [JsonProperty("totalFalse")]
- public string totalFalse { get; set; }
- [JsonProperty("listFile")]
- public List<uploadFileObj> listFile { get; set; }
- }
- public class uploadFileObj
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("fileId")]
- public string fileId { get; set; }
- [JsonProperty("fileName")]
- public string fileName { get; set; }
- [JsonProperty("status")]
- public string status { get; set; }
- [JsonProperty("totalRecord")]
- public string totalRecord { get; set; }
- [JsonProperty("totalRecordSucess")]
- public string totalRecordSucess { get; set; }
- [JsonProperty("totalRecordFalse")]
- public string totalRecordFalse { get; set; }
- [JsonProperty("createDate")]
- public string createDate { get; set; }
- [JsonProperty("startDate")]
- public string startDate { get; set; }
- [JsonProperty("endDate")]
- public string endDate { get; set; }
- [JsonProperty("termUploadId")]
- public string termUploadId { get; set; }
- }
- public class uploadFileReqeustObj: ResponseCommon
- {
- [JsonProperty("termUploadId")]
- public string termUploadId { get; set; }
-
- [JsonProperty("data")]
- public List<fileInObj> data { get; set; }
- }
- public class fileInObj: ResponseCommon
- {
- [JsonProperty("fileId")]
- public string fileId { get; set; }
- [JsonProperty("fileName")]
- public string fileName { get; set; }
-
- }
- public class ResponseCommon
- {
- public ResponseCommon()
- {
- this.errorCode = "2910";
- this.message = "System update";
- this.httpStatusCode = "200";
- }
- public ResponseCommon(string _errCode, string _msg)
- {
- this.errorCode = _errCode;
- this.message = _msg;
- }
- [JsonProperty("errorCode")]
- public string errorCode { get; set; }
- [JsonProperty("message")]
- public string message { get; set; }
- //[JsonProperty("httpStatusCode")]
- [System.Text.Json.Serialization.JsonIgnore(Condition = JsonIgnoreCondition.Always)]
- public string httpStatusCode { get; set; }
- }
- public class resultOfTermObj
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("code")]
- public string code { get; set; }
- [JsonProperty("name")]
- public string name { get; set; }
- [JsonProperty("display")]
- public string display { get; set; }
- [JsonProperty("money")]
- public string money { get; set; }
- [JsonProperty("groupId")]
- public string groupId { get; set; }
- [JsonProperty("groupName")]
- public string groupName { get; set; }
- [JsonProperty("result")]
- public string result { get; set; }
- }
- public class resultOfTermObjV2
- {
- [JsonProperty("prizeId")]
- public string prizeId { get; set; }
- [JsonProperty("prizeName")]
- public string prizeName { get; set; }
- [JsonProperty("prizeDisplay")]
- public string prizeDisplay { get; set; }
- [JsonProperty("prizeMoney")]
- public string prizeMoney { get; set; }
- [JsonProperty("prizeOrder")]
- public string prizeOrder { get; set; }
- [JsonProperty("prizeResult")]
- public string prizeResult { get; set; }
- [JsonProperty("prizeResultArr")]
- public List<resultObj> prizeResultArr { get; set; }
- [JsonProperty("prizeResultThisTerm")]
- public string prizeResultThisTerm { get; set; }
- [JsonProperty("prizeResultThisTermArr")]
- public List<resultObj> prizeResultThisTermArr { get; set; }
- [JsonProperty("prizeResultThisMoreTerm")]
- public string prizeResultThisMoreTerm { get; set; }
- [JsonProperty("prizeResultThisMoreTermArr")]
- public List<resultObj> prizeResultThisMoreTermArr { get; set; }
- [JsonProperty("prizeResultPreTerm")]
- public string prizeResultPreTerm { get; set; }
- [JsonProperty("prizeResultPreTermArr")]
- public List<resultObj> prizeResultPreTermArr { get; set; }
- [JsonProperty("prizeResultMoreTerm")]
- public string prizeResultMoreTerm { get; set; }
- [JsonProperty("prizeResultMoreTermArr")]
- public List<resultObj> prizeResultMoreTermArr { get; set; }
- [JsonProperty("groupId")]
- public string groupId { get; set; }
- [JsonProperty("groupName")]
- public string groupName { get; set; }
- [JsonProperty("unit")]
- public string unit { get; set; }
- [JsonProperty("length")]
- public string length { get; set; }
- [JsonProperty("currentSold")]
- public string currentSold { get; set; }
- [JsonProperty("currentMoney")]
- public string currentMoney { get; set; }
- [JsonProperty("perviousSold")]
- public string perviousSold { get; set; }
- [JsonProperty("perviousMoney")]
- public string perviousMoney { get; set; }
- [JsonProperty("moreSold")]
- public string moreSold { get; set; }
- [JsonProperty("moreMoney")]
- public string moreMoney { get; set; }
- [JsonProperty("totalRevenue")]
- public string totalRevenue { get; set; }
- [JsonProperty("totalRevenuePri")]
- public string totalRevenuePri { get; set; }
- [JsonProperty("limitJackport")]
- public string limitJackport { get; set; }
- [JsonProperty("curentRevenue")]
- public string curentRevenue { get; set; }
- [JsonProperty("curentRenueWinner")]
- public string curentRenueWinner { get; set; }
- [JsonProperty("curentJackport")]
- public string curentJackport { get; set; }
- [JsonProperty("remainJackport")]
- public string remainJackport { get; set; }
- [JsonProperty("curentOther")]
- public string curentOther { get; set; }
- [JsonProperty("remainOther")]
- public string remainOther { get; set; }
- [JsonProperty("irdTerm")]
- public string irdTerm { get; set; }
- }
- public class resultObj
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("ticket")]
- public string ticket { get; set; }
- [JsonProperty("type")]
- public string type { get; set; }
- [JsonProperty("action")]
- public string action { get; set; }
- [JsonProperty("totalSold")]
- public string totalSold { get; set; }
- [JsonProperty("money")]
- public string money { get; set; }
- [JsonProperty("totalMoney")]
- public string totalMoney { get; set; }
- [JsonProperty("isDelete")]
- public string isDelete { get; set; }
- }
- public class importObj
- {
- [JsonProperty("uploadId")]
- public string uploadId { get; set; }
- [JsonProperty("uploadDetailId")]
- public string uploadDetailId { get; set; }
- [JsonProperty("type")]
- public string type { get; set; }
- [JsonProperty("ticket")]
- public string ticket { get; set; }
-
- }
- public class oneImportObj
- {
- [JsonProperty("uploadId")]
- public string uploadId { get; set; }
- [JsonProperty("uploadDetailId")]
- public string uploadDetailId { get; set; }
-
- [JsonProperty("importObjList")]
- public List<importObj> importObjList { get; set; }
- public oneImportObj(string uploadId, string uploadDetailId, List<importObj> importObjList)
- {
- this.uploadId = uploadId;
- this.uploadDetailId = uploadDetailId;
- this.importObjList = importObjList;
- }
- }
- public class totalFileImportObj
- {
- [JsonProperty("uploadId")]
- public string uploadId { get; set; }
- [JsonProperty("uploadDetailId")]
- public string uploadDetailId { get; set; }
- [JsonProperty("totalBlock")]
- public string totalBlock { get; set; }
- [JsonProperty("totalRow")]
- public string totalRow { get; set; }
- [JsonProperty("totalRowErr")]
- public string totalRowErr { get; set; }
- [JsonProperty("isFinsh")]
- public string isFinsh { get; set; }
- public totalFileImportObj(string uploadId, string uploadDetailId, string totalBlock, string totalRow, string totalRowErr, string isFinsh)
- {
- this.uploadId = uploadId;
- this.uploadDetailId = uploadDetailId;
- this.totalBlock = totalBlock;
- this.totalRow = totalRow;
- this.totalRowErr = totalRowErr;
- this.isFinsh = isFinsh;
- }
- }
- public class paramObj
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("code")]
- public string code { get; set; }
- [JsonProperty("display0")]
- public string display0 { get; set; }
- [JsonProperty("display1")]
- public string display1 { get; set; }
- }
-
-
- public class drawResult
- {
- public string Id { get; set; }
- public double Num { get; set; }
- }
- public class winnerObj
- {
- [JsonProperty("ticket")]
- public string ticket { get; set; }
- [JsonProperty("result")]
- public string result { get; set; }
- [JsonProperty("prizeName")]
- public string prizeName { get; set; }
- [JsonProperty("prizeDisplay")]
- public string prizeDisplay { get; set; }
- [JsonProperty("prizeGroupName")]
- public string prizeGroupName { get; set; }
- }
- public class waiResult
- {
- [JsonProperty("id")]
- public string id { get; set; }
- [JsonProperty("result")]
- public string result { get; set; }
- [JsonProperty("resultLocal")]
- public string resultLocal { get; set; }
- [JsonProperty("termId")]
- public string termId { get; set; }
- [JsonProperty("prizeId")]
- public string prizeId { get; set; }
- [JsonProperty("prizeName")]
- public string prizeName { get; set; }
- [JsonProperty("prizeDisplay")]
- public string prizeDisplay { get; set; }
- [JsonProperty("groupId")]
- public string groupId { get; set; }
- [JsonProperty("groupName")]
- public string groupName { get; set; }
- [JsonProperty("prizeMoney")]
- public string prizeMoney { get; set; }
- [JsonProperty("prizeType")]
- public string prizeType { get; set; }
- [JsonProperty("lSold")]
- public List<waiRange> lSold { get; set; }
- [JsonProperty("lUnSold")]
- public List<waiRange> lUnSold { get; set; }
- public waiResult()
- {
- lSold = new List<waiRange>();
- lUnSold = new List<waiRange>();
- }
- }
- public class waiRange
- {
- [JsonProperty("from")]
- public string from { get; set; }
- [JsonProperty("to")]
- public string to { get; set; }
- [JsonProperty("total")]
- public string total { get; set; }
- [JsonProperty("seq")]
- public string seq { get; set; }
- }
- }
|