模板重新生成可空类型

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,9 +10,9 @@ namespace Yi.Framework.DtoModel.ERP.Material
{
public class MaterialCreateUpdateInput : EntityDto<long>
{
public string? Code { get; set; }
public string? Name { get; set; }
public string? UnitName { get; set; }
public string Code { get; set; }=string.Empty;
public string Name { get; set; }=string.Empty;
public string UnitName { get; set; }=string.Empty;
public string? Remarks { get; set; }
}
}

View File

@@ -0,0 +1,17 @@
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.Material
{
public class MaterialGetListInput
{
public string Code { get; set; }=string.Empty;
public string Name { get; set; }=string.Empty;
public string UnitName { get; set; }=string.Empty;
public string? Remarks { get; set; }
}
}

View File

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