123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- using OASystem.Domain.Entities.System;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.ViewModels.System
- {
- public class SetDataView
- {
- public int Id { get; set; }
- /// <summary>
- /// 分类名称
- /// </summary>
- public string Name { get; set; }
- /// <summary>
- /// setdatatype id
- /// </summary>
- public int STid { get; set; }
- public string Remark { get; set; }
- }
- /// <summary>
- /// 数据data
- /// </summary>
- public class SetDataInfoView
- {
- public int Id { get; set; }
- /// <summary>
- /// 分类名称
- /// </summary>
- public string Name { get; set; }
- public string Remark { get; set; }
- public int RemarkSort
- {
- get
- {
- int sort = 0;
- int.TryParse(Remark, out sort);
- return sort;
- }
- }
- }
- /// <summary>
- /// 卡类型数据data
- /// </summary>
- public class SetDataCurrencyInfoView
- {
- public int Id { get; set; }
- /// <summary>
- /// 分类名称
- /// </summary>
- public string? Name { get; set; }
- /// <summary>
- /// 卡类型对应的币种
- /// </summary>
- public string? Currency { get {
- string? currency = string.Empty;
- if (Id == 74) currency = "USD"; //74 美元卡
- else if (Id == 75) currency = "EUR"; //775 欧元卡
- else if(Id == 86) currency = "CNY"; //86 招行卡
- else if (Id == 346) currency = "CNY"; //346 中信卡
- else if (Id == 363) currency = "CNY"; //363 交行卡
- return currency;
- } }
- /// <summary>
- /// 持卡人
- /// </summary>
- public string? Cardholder { get; set; } = "Zhang Hailin";
- /// <summary>
- /// 卡号
- /// </summary>
- public string? Remark { get; set; }
- }
- public class SetDataAndPageInfoView
- {
- /// <summary>
- /// 模块id
- /// </summary>
- public int Modulid { get; set; }
- /// <summary>
- /// 分类名称
- /// </summary>
- public string ModulName { get; set; }
- /// <summary>
- /// setdatatype id
- /// </summary>
- public int STid { get; set; }
- /// <summary>
- /// 模块备注
- /// </summary>
- public string ModulRemark { get; set; }
- /// <summary>
- /// 页面id
- /// </summary>
- public int Pageid { get; set; }
-
- /// <summary>
- /// 页面名称
- /// </summary>
- public string PageName { get; set; }
- /// <summary>
- /// 页面是否启用
- /// </summary>
- public int PageIsEnable { get; set; }
-
- public int PagePhoneIsEnable { get; set; }
- /// <summary>
- /// 页面Code
- /// </summary>
- public string SystemMenuCode { get; set; }
- public string WebUrl { get; set; }
- public string AndroidUrl { get; set; }
- public string IosUrl { get; set; }
- /// <summary>
- /// 手机端图标
- /// </summary>
- public string Icon { get; set; }
- /// <summary>
- /// 页面备注
- /// </summary>
- public string PageRemark { get; set; }
- /// <summary>
- /// 页面添加的操作
- /// </summary>
- public List<int> FunArr { get; set; }
- }
- public class SetDataAndPageInfoDto
- {
- /// <summary>
- /// 模块id
- /// </summary>
- public int Modulid { get; set; }
- /// <summary>
- /// 分类名称
- /// </summary>
- public string ModulName { get; set; }
- /// <summary>
- /// setdatatype id
- /// </summary>
- public int STid { get; set; }
- /// <summary>
- /// 模块备注
- /// </summary>
- public string ModulRemark { get; set; }
- /// <summary>
- /// 页面id
- /// </summary>
- public int Pageid { get; set; }
- /// <summary>
- /// 页面名称
- /// </summary>
- public string PageName { get; set; }
- /// <summary>
- /// 页面是否启用
- /// </summary>
- public int PageIsEnable { get; set; }
- public int PagePhoneIsEnable { get; set; }
- /// <summary>
- /// 页面Code
- /// </summary>
- public string SystemMenuCode { get; set; }
- public string WebUrl { get; set; }
- public string AndroidUrl { get; set; }
- public string IosUrl { get; set; }
- /// <summary>
- /// 手机端图标
- /// </summary>
- public string Icon { get; set; }
- /// <summary>
- /// 页面备注
- /// </summary>
- public string PageRemark { get; set; }
- /// <summary>
- /// 页面添加的操作
- /// </summary>
- public List<int> FunArr { get; set; }
- /// <summary>
- /// 用户ID
- /// </summary>
- public int UserId { get; set; }
- }
- public class SetDataIView:Sys_SetData
- {
- public string StName { get; set; }
- public string CnName { get;set; }
- }
- }
|