using OpenAuth.Repository.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OpenAuth.App.FormScheme.Request
{
    public class FormDataReq
    {
        /// <summary>
        /// 模板Id
        /// </summary>
        public string SchemeId { get; set; }
        /// <summary>
        /// 是否更新
        /// </summary>
        public bool IsUpdate { get; set; }
        /// <summary>
        /// 表单数据
        /// </summary>
        public string Data { get; set; }
        /// <summary>
        /// 主键（更新数据时采用）
        /// </summary>
        public string Pkey { get; set; }
        /// <summary>
        /// 主键值（更新数据时采用）
        /// </summary>
        public string PkeyValue { get; set; }
        /// <summary>
        /// 变更数据
        /// </summary>
        public List<FormDataHistory> DiffFormData { get; set; }
    }
}
