修改代码生成演示

This commit is contained in:
不做码农
2021-11-27 20:00:13 +08:00
parent 2cc6e1d0ec
commit 4595a01b78
8 changed files with 106 additions and 55 deletions

View File

@@ -27,6 +27,10 @@ namespace ZR.Model.Dto
/// </summary>
public class GendemoQueryDto: PagerInfo
{
public int Id { get; set; }
public string Name { get; set; }
public int ShowStatus { get; set; }
public DateTime AddTime { get; set; }
public DateTime? BeginTime { get; set; }
public DateTime? EndTime { get; set; }

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using SqlSugar;
namespace ZR.Model.Models
{
@@ -7,7 +8,7 @@ namespace ZR.Model.Models
/// 代码生成演示,数据实体对象
///
/// @author zr
/// @date 2021-11-24
/// @date 2021-11-27
/// </summary>
[SqlSugar.SugarTable("gen_demo")]
[SqlSugar.Tenant("0")]
@@ -17,7 +18,7 @@ namespace ZR.Model.Models
/// 描述 :自增id
/// 空值 :False
/// </summary>
[SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[SqlSugar.SugarColumn(IsPrimaryKey = false, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 描述 :名称