Quanxue.Zhanghao.Daochu/LearningOfficer.OA.Common/Dtos/UpdateApp/UpdateDto.cs

129 lines
2.7 KiB
C#

using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LearningOfficer.OA.Common.Dtos.UpdateApp
{
public class UpdateAppAddDto
{
/// <summary>
/// 备 注:版本
/// 默认值:
///</summary>
public int Version { get; set; }
/// <summary>
/// 备 注:1启用 0停用
/// 默认值:
///</summary>
public int IsActive { get; set; }
/// <summary>
/// 备 注:文件id
/// 默认值:
///</summary>
public long Fileid { get; set; }
/// <summary>
/// 文件Url
/// </summary>
public string? FileUrl { get; set; }
/// <summary>
/// 备 注:1:安卓APP,2:IOS APP
/// 默认值:
///</summary>
public int Updatetype { get; set; }
/// <summary>
/// 备 注:版本名称
/// 默认值:
///</summary>
public string VersionName { get; set; } = null!;
/// <summary>
/// 备 注:版本说明
/// 默认值:
///</summary>
public string? Remark { get; set; }
/// <summary>
/// 备 注:版本是否强制升级
/// 默认值:
///</summary>
public bool Isforce { get; set; }
}
public class UpdateAppUpdateDto : UpdateAppAddDto
{
public long Id { get; set; }
}
public class UpdateAppViewDto
{
public long Id { get; set; }
/// <summary>
/// 备 注:版本
/// 默认值:
///</summary>
public int Version { get; set; }
/// <summary>
/// 备 注:1启用 0停用
/// 默认值:
///</summary>
public int IsActive { get; set; }
/// <summary>
/// 备 注:文件id
/// 默认值:
///</summary>
public long Fileid { get; set; }
/// <summary>
/// 文件Url
/// </summary>
public string? FileUrl { get; set; }
/// <summary>
/// 备 注:1:安卓APP,2:IOS APP
/// 默认值:
///</summary>
public int Updatetype { get; set; }
/// <summary>
/// 备 注:版本名称
/// 默认值:
///</summary>
public string VersionName { get; set; } = null!;
/// <summary>
/// 备 注:版本说明
/// 默认值:
///</summary>
public string? Remark { get; set; }
/// <summary>
/// 备 注:版本是否强制升级
/// 默认值:
///</summary>
public bool Isforce { get; set; }
}
}