2022-10-14 16:08:54 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace FrontendWebApi.Models
|
|
|
|
|
{
|
|
|
|
|
public class MyBase
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
public class Actor
|
|
|
|
|
{
|
|
|
|
|
private string created_at;
|
|
|
|
|
private string updated_at;
|
|
|
|
|
|
|
|
|
|
public string Created_by { get; set; } //創建者
|
|
|
|
|
public string Created_at { get { return Convert.ToDateTime(created_at).ToString("yyyy-MM-dd HH:mm:ss"); } set { created_at = value; } } //創建時間
|
|
|
|
|
|
|
|
|
|
public string Updated_by { get; set; } //修改者
|
|
|
|
|
public string Updated_at { get { return Convert.ToDateTime(updated_at).ToString("yyyy-MM-dd HH:mm:ss"); } set { updated_at = value; } } //修改時間
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 當前登入的使用者基本資訊
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class MyUserInfo
|
|
|
|
|
{
|
|
|
|
|
public string Userinfo_guid { get; set; } //編號
|
|
|
|
|
public byte Status { get; set; } //狀態
|
|
|
|
|
public string Full_name { get; set; } //姓名
|
|
|
|
|
public string Phone { get; set; } //手機
|
|
|
|
|
public string Tel { get; set; } //市話
|
|
|
|
|
public string Email { get; set; }
|
|
|
|
|
public string role_guid { get; set; }
|
|
|
|
|
public byte Layer { get; set; }
|
|
|
|
|
public List<string> ShowView { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class KeyValue
|
|
|
|
|
{
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public string Value { get; set; }
|
|
|
|
|
}
|
|
|
|
|
public class KeyValueID : KeyValue
|
|
|
|
|
{
|
|
|
|
|
public int id { get; set; }
|
|
|
|
|
}
|
2022-10-27 11:05:13 +08:00
|
|
|
|
|
|
|
|
|
public class Variable : Actor
|
|
|
|
|
{
|
2023-01-09 19:15:40 +08:00
|
|
|
|
public int? id { get; set; }
|
2022-10-27 11:05:13 +08:00
|
|
|
|
public string System_type { get; set; }
|
|
|
|
|
public string System_key { get; set; }
|
|
|
|
|
public string system_value { get; set; }
|
2023-01-09 19:15:40 +08:00
|
|
|
|
public int? system_parent_id { get; set; }
|
2022-10-27 11:05:13 +08:00
|
|
|
|
}
|
2022-10-14 16:08:54 +08:00
|
|
|
|
}
|