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 { /// /// 备 注:版本 /// 默认值: /// public int Version { get; set; } /// /// 备 注:1启用 0停用 /// 默认值: /// public int IsActive { get; set; } /// /// 备 注:文件id /// 默认值: /// public long Fileid { get; set; } /// /// 文件Url /// public string? FileUrl { get; set; } /// /// 备 注:1:安卓APP,2:IOS APP /// 默认值: /// public int Updatetype { get; set; } /// /// 备 注:版本名称 /// 默认值: /// public string VersionName { get; set; } = null!; /// /// 备 注:版本说明 /// 默认值: /// public string? Remark { get; set; } /// /// 备 注:版本是否强制升级 /// 默认值: /// public bool Isforce { get; set; } } public class UpdateAppUpdateDto : UpdateAppAddDto { public long Id { get; set; } } public class UpdateAppViewDto { public long Id { get; set; } /// /// 备 注:版本 /// 默认值: /// public int Version { get; set; } /// /// 备 注:1启用 0停用 /// 默认值: /// public int IsActive { get; set; } /// /// 备 注:文件id /// 默认值: /// public long Fileid { get; set; } /// /// 文件Url /// public string? FileUrl { get; set; } /// /// 备 注:1:安卓APP,2:IOS APP /// 默认值: /// public int Updatetype { get; set; } /// /// 备 注:版本名称 /// 默认值: /// public string VersionName { get; set; } = null!; /// /// 备 注:版本说明 /// 默认值: /// public string? Remark { get; set; } /// /// 备 注:版本是否强制升级 /// 默认值: /// public bool Isforce { get; set; } } }