using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.Dtos
{
///
/// 请求实体类 基类
///
public class DtoBase: PortDtoBase
{
public int PageIndex { get; set; } = 1;
public int PageSize { get; set; } = 10;
}
///
/// 请求实体类
/// 端口
/// 基类
///
public class PortDtoBase
{
///
/// 请求端口分类
/// 1 Web 2 Android 3 IOS
///
public int PortType { get; set; } = 1;
}
public class JsonDtoBase
{
public string Paras { get; set; }
}
///
/// 删除参数
///
public class DelBaseDto:PortDtoBase
{
///
/// 删除的数据Id
///
public int Id { get; set; }
///
/// 删除者Id
///
public int DeleteUserId { get; set; }
}
public class OpBaseDto
{
///
/// 操作状态
/// 1 添加
/// 2 修改
///
public int Status { get; set; }
///
/// 编号
///
public int Id { get; set; }
///
/// 创建者Id
///
public int CreateUserId { get; set; }
///
/// 备注
///
public string Remark { get; set; }
}
public class AskDataProvinceFileDto {
public int[] DataIdItem { get; set; }
public int DiId { get; set; }
}
///
/// 员工页面操作功能权限
///
public class UserPageFuncDtoBase : PortDtoBase
{
///
/// 用户Id
///
public int UserId { get; set; }
///
/// 页面Id
///
public int PageId { get; set; }
}
}