| | |
| | | using System; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using Tiger.Model.Minsun; |
| | | |
| | | namespace Tiger.Model |
| | | { |
| | |
| | | /// </summary> |
| | | public string Data { get; set; } |
| | | } |
| | | |
| | | |
| | | public class BaseInput<T> : BaseInput |
| | | { |
| | | public BaseInput() |
| | | { |
| | | } |
| | | |
| | | public BaseInput(BaseInput input) |
| | | { |
| | | if (input != null) |
| | | { |
| | | AuthOption = input.AuthOption; |
| | | Locale = input.Locale; |
| | | Command = input.Command; |
| | | SN = input.SN; |
| | | ItemCode = input.ItemCode; |
| | | OrderNo = input.OrderNo; |
| | | Options = input.Options; |
| | | Data = JsonConvert.DeserializeObject<T>(input.Data); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 当前操作需要提交的数据 |
| | | /// </summary> |
| | | public new T Data { get; set; } |
| | | } |
| | | |
| | | public class BaseInputWithPage : BaseInput |
| | | { |
| | | public int pageIndex { get; set; } |