• MVC第三波书店购物车Model


    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;

    namespace BookShopSys.Plus.Models
    {
        public class BasketBook
        {
            public int Id { get; set; }
            public int bookId { get; set; }
            public double unitPrice { get; set; }
            public double dzPrice { get; set; }
            public double jsPrice { get; set; }
            public double dprice { get; set; }
            public string title { get; set; }
            public int Sum { get; set; }

        }
    }

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;

    namespace BookShopSys.Plus.Models
    {
        public class Book
        {
            public int Id { get; set; }
            public string Title { get; set; }
            public string Author { get; set; }
            public int PublisherId { get; set; }
            public DateTime PublishDate { get; set; }
            public string  ISBN { get; set; }
            public double UnitPrice { get; set; }
            public string ContentDescription { get; set; }
            public string TOC { get; set; }
            public int CategoryId { get; set; }
            public int Clicks { get; set; }
        }
    }

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;

    namespace BookShopSys.Plus.Models
    {
        public class Categroy
        {
            public int Id { get; set; }
            public string Name { get; set; }
            public int PId { get; set; }
            public int BookSum { get; set; }

        }
    }

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;

    namespace BookShopSys.Plus.Models
    {
        public class ReaderComment
        {
            public int Id { get; set; }
            public int BookId { get; set; }
            public string ReaderName { get; set; }
            public string Title { get; set; }
            public string Comment { get; set; }
            public DateTime Date { get; set; }
        }
    }

  • 相关阅读:
    印象深刻的bug汇总(持续更新)
    Vue Router入门:为Vue.js应用添加导航
    为什么女程序员那么稀缺?女程序员吃不吃香?
    spring学习9-idea的config配置
    QGC 参数设置中关于param_union的使用
    Gateway网关动态路由配置(YAML格式 + JSON格式)
    Linux上 tomcat的虚拟主机IP映射配置
    硬核剖析AQS源码,深入理解底层架构设计
    2022 年十大 Python Web 开发框架
    LocalDateTime、LocalDate、Date的相互转换
  • 原文地址:https://blog.csdn.net/m0_74456535/article/details/127936435