
//--------------------------------------------------------------------
//     此代码由liquid模板自动生成  byzhouhang 20240909
//	   生成时间 {{DateTimeNow}} 
//     对此文件的更改可能会导致不正确的行为，并且如果重新生成代码，这些更改将会丢失。
//--------------------------------------------------------------------
using System;
using IRaCIS.Core.Domain.Share;
using System.Collections.Generic;
namespace IRaCIS.Core.Application.ViewModel;

public class {{ TableNameView }} : {{ TableNameAddOrEdit }}
{
    {% for field in ViewListFieldList %}
    public {{ field.CSharpType }} {{ field.FieldName }} { get; set; }
    {% endfor %}
}


public class {{ TableNameAddOrEdit }}
{
{%- for field in AddOrUpdateFieldList -%}
    {% if  field.IsPrimarykey  %}
    public {{ field.CSharpType }}? {{ field.FieldName }} { get; set; }
    {% else %}
    public {{ field.CSharpType }} {{ field.FieldName }} { get; set; }
    {% endif %}
{%- endfor -%}
}

public class {{ TableNameQuery }}:PageInput
{
{%- for field in QueryListFieldList -%}
{% if  field.IsNullable and field.IsCSharpString == false %}
    public {{ field.CSharpType }}  {{ field.FieldName }} { get; set; }
    {% else %}
    public {{ field.CSharpType }}? {{ field.FieldName }} { get; set; }
    {% endif %}
{%- endfor -%}
}




