• 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; }
        }
    }

  • 相关阅读:
    docker安装tomcat
    【我的OpenGL学习进阶之旅】关于3D模型知识之:什么是obj文件和mtl文件
    分享五个乳胶漆防裂的好方法
    vue3 兄弟组件传值方法 使用中间件mitt------进行兄弟元素传值
    ZYNQ之简易流水灯(EMIO、AXI GPIO)
    UnitTest 参数化---Parameterized安装
    JAVA Stream流
    docker 挂载宿主机文件到容器中
    【电力系统】含电热联合系统的微电网运行优化附matlab代码和复现论文
    Java 基于SpringBoot的某家乡美食系统
  • 原文地址:https://blog.csdn.net/m0_74456535/article/details/127936435