Cat.Entity/Cat.Model/Param/IdParam.cs

(完整代码) 653B

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Cat.Util;
using Newtonsoft.Json;

namespace Cat.Model.Param
{
    public class IdParam
    {
        /// <summary>
        /// 所有表的主键
        /// long返回到前端js的时候,会丢失精度,所以转成字符串
        /// </summary>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? Id { get; set; }

      //编辑页面中,清单列表里面的临时Id
      //Id小于该值,则为临时Id
      public static readonly long TempMaxId = 10000;
   }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。