using Siger.Middlelayer.Repository.Data.Tpm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Siger.ApiTPM.Result
{
    public class AppMsgResultResult : TpmResultBase
    {
        public int ret { get; set; } = 1;

        public string msg { get; set; } = string.Empty;

        public List<MsgModel> data { get; set; }

        public AppMsgResultResult()
        {
            data = new List<MsgModel>();
        }

        public int total { get; set; }
    }


    public class MsgModel
    {
        public int id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int tomid { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int repairid { get; set; }

        public int type { get; set; }

        public string title { get; set; }

        public string content { get; set; }

        public int read_sign { get; set; }

        public string yeartime { get; set; }

        public int status { get; set; }
    }
}
