You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

111 lines
2.7 KiB
C#

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