using MadRunFabric.Common;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace MadRunFabric.Model
{
    public class Sys_User_Feedback : IBaseModel<string>
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }

        /// <summary>
        /// app类型
        /// </summary>
        public int apptype { get; set; }

        /// <summary>
        /// 电话号码
        /// </summary>
        public string phone { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string content { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        public List<FileBaseModel> files { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }

        /// <summary>
        /// 添加人工号
        /// </summary>
        public string createby { get; set; }

        /// <summary>
        /// 添加人名字
        /// </summary>
        public string createbyname { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime createtime { get; set; } = DateTime.Now;

        /// <summary>
        /// 是否删除(0正常1删除)
        /// </summary>
        public int isdelete { get; set; } = 0;

        /// <summary>
        /// 删除人
        /// </summary>
        public string deleteby { get; set; }

        /// <summary>
        /// 删除日期
        /// </summary>
        public DateTime? deletetime { get; set; }
    }
}
