Books.Service/DAL/BookEntities.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace Books.Service.DAL
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class BookEntities
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public BookEntities()
{
OrderDetailEntities = new HashSet<OrderDetailEntities>();
}
public int Id { get; set; }
[Required]
[StringLength(30)]
public string Name { get; set; }
[Required]
[StringLength(30)]
public string Author { get; set; }
[Required]
[StringLength(50)]
public string Image { get; set; }
public decimal Price { get; set; }
[StringLength(1000)]
public string Profile { get; set; }
public int PressId { get; set; }
public DateTime PublishDateTime { get; set; }
public int Edition { get; set; }
public int Impression { get; set; }
[Required]
[StringLength(32)]
public string ISBM { get; set; }
public int ClassifyId { get; set; }
public int WordCount { get; set; }
public int PageCount { get; set; }
public int Format { get; set; }
public DateTime CreateDateTime { get; set; }
public bool IsDeleted { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
后面还有 7 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。