Created
September 9, 2019 06:54
-
-
Save ajiehatajie/cd3859aafd33ef19fc8a8aa91b5f8ded to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Newtonsoft.Json; | |
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
namespace ConsoleReceiving.Repository.Object | |
{ | |
public class SuratJalanRequestDto | |
{ | |
public string taskName { get; set; } = "GR Unit Batching"; | |
public Filters filters { get; set; } | |
public Sort sort { get; set; } | |
public int offset { get; set; } = 0; | |
public int limit { get; set; } = 100; | |
} | |
public class DealerID | |
{ | |
public string value { get; set; } = "100002"; | |
[JsonProperty(PropertyName = "operator")] | |
public string operators { get; set; } = "EQUAL"; | |
} | |
public class TaskType | |
{ | |
public string value { get; set; } = "GR_PO_MD"; | |
[JsonProperty(PropertyName = "operator")] | |
public string operatorFilter { get; set; } = "EQUAL"; | |
} | |
public class Filters | |
{ | |
public DealerID dealerID { get; set; } | |
public TaskType TaskType { get; set; } | |
} | |
public class Sort | |
{ | |
public string sortOrder { get; set; } = "DESC"; | |
public string sortBy { get; set; } = "TaskSJDate"; | |
public string sortType { get; set; } = "DATE"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment