模板重新生成可空类型

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

@@ -10,8 +10,8 @@ namespace Yi.Framework.DtoModel.ERP.Unit
{
public class UnitCreateUpdateInput : EntityDto<long>
{
public string? Code { get; set; }
public string? Name { get; set; }
public string Code { get; set; }=string.Empty;
public string Name { get; set; }=string.Empty;
public string? Remarks { get; set; }
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yi.Framework.Model.Base;
namespace Yi.Framework.DtoModel.ERP.Unit
{
public class UnitGetListInput
{
public string Code { get; set; }=string.Empty;
public string Name { get; set; }=string.Empty;
public string? Remarks { get; set; }
}
}

View File

@@ -9,8 +9,8 @@ namespace Yi.Framework.DtoModel.ERP.Unit
{
public class UnitGetListOutput: EntityDto<long>
{
public string Code { get; set; }
public string Name { get; set; }
public string Remarks { get; set; }
public string Code { get; set; }=string.Empty;
public string Name { get; set; }=string.Empty;
public string? Remarks { get; set; }
}
}