模板重新生成可空类型

This commit is contained in:
陈淳
2023-01-06 11:12:47 +08:00
parent 576397a042
commit 29df3d658b
52 changed files with 573 additions and 478 deletions

View File

@@ -11,9 +11,9 @@ namespace Yi.Framework.DtoModel.ERP.Purchase
{
public class PurchaseUpdateInput : EntityDto<long>
{
public string Code { get; set; }
public string? Code { get; set; }
public DateTime NeedTime { get; set; }
public string Buyer { get; set; }
public string? Buyer { get; set; }
public long TotalMoney { get; set; }
public long PaidMoney { get; set; }
public PurchaseStateEnum PurchaseState { get; set; }

View File

@@ -1,4 +1,4 @@
using SqlSugar;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -10,32 +10,11 @@ namespace Yi.Framework.DtoModel.ERP.Supplier
{
public class SupplierCreateUpdateInput : EntityDto<long>
{
/// <summary>
/// 供应商编码
/// </summary>
public string? Code { get; set; }
/// <summary>
/// 供应商名称
/// </summary>
public string? Name { get; set; }
/// <summary>
/// 供应商地址
/// </summary>
public string Code { get; set; } = string.Empty;
public string Name { get; set; }= string.Empty;
public string? Address { get; set; }
/// <summary>
/// 电话
/// </summary>
public long? Phone { get; set; }
/// <summary>
/// 传真
/// </summary>
public string? Fax { get; set; }
/// <summary>
/// 邮箱
/// </summary>
public string? Email { get; set; }
}
}

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -9,32 +9,11 @@ namespace Yi.Framework.DtoModel.ERP.Supplier
{
public class SupplierGetListOutput: EntityDto<long>
{
/// <summary>
/// 供应商编码
/// </summary>
public string Code { get; set; }
/// <summary>
/// 供应商名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 供应商地址
/// </summary>
public string Address { get; set; }
/// <summary>
/// 电话
/// </summary>
public long Phone { get; set; }
/// <summary>
/// 传真
/// </summary>
public string Fax { get; set; }
/// <summary>
/// 邮箱
/// </summary>
public string Email { get; set; }
public string Code { get; set; } = string.Empty;
public string Name { get; set; }= string.Empty;
public string? Address { get; set; }
public long? Phone { get; set; }
public string? Fax { get; set; }
public string? Email { get; set; }
}
}

View File

@@ -1,14 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.DtoModel.RABC.Student.ConstConfig
{
public class StudentConst
{
public const string = nameof();
public const string = nameof()+"状态码将返回200";
}
}