using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common;
using Common.Entity;
using Common.Extensions;
namespace Common.DJYModel
{
///
/// 统一用于接收前端功能查询条件
///
public class ApiFromDto : PageEntity
{
///
///
///
public string UserId { get; set; }
///
/// 文件名称
///
public string FileName { get; set; }
///
/// Token
///
public string Token { get; set; }
public Guid? Gid { get; set; }
///
///
///
public List GidList { get; set; } = new List();
///
///
///
public string Email { get; set; }
///
/// 开始时间戳
///
public long StartTime { get; set; }
///
/// 结束时间戳
///
public long EndTime { get; set; }
///
/// 内容
///
public string Content { get; set; }
///
///code 编号编码
///
public string Code { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 属性分类
///
public string Type { get; set; }
///
/// 状态
///
public string Status { get; set; }
///
/// 船公司编码
///
public string CarrierCode { get; set; }
///
/// 航线
///
public string ShipRouteName { get; set; }
///
///
///
public string Key { get; set; }
///
///
///
public string Value { get; set; }
///
/// 数据data
///
public object Data { get; set; }
///
/// id
///
public long Id { get; set; }
///
/// 排序方式 1正序 2倒序
///
public int orderby { get; set; } = 1;
///
/// 结束时间加一天
///
public void EndTimeAddDay()
{
if (EndTime > 0)
{
EndTime=EndTime.ToDateTime().AddDays(1).ToTimeStamp();
}
}
}
}