Test.Core.Web/db/models/RechargeCode.cs

(完整代码) 905B

using CommonUtils;
using Microsoft.EntityFrameworkCore;
using Swashbuckle.AspNetCore.Annotations;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace Test.Core.Web
{
    [SwaggerSchema("充值码")]
    public class RechargeCode : DbEntity
    {
        [SwaggerSchema("序列号")]
        [Comment("充值序列号")]
        [Column("Value")]//value是关键字,这里要额外照顾
        [Description("注释测试")]//注释测试
        public string Value { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 是否已消费
        /// </summary>
        public bool Consumed { get; set; }

        /// <summary>
        /// 消费时间
        /// </summary>
        public DateTime ConsumTime { get; set; }
    }
}

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

AI 解读 AI

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

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