You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.6 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using Myshipping.Core;
using System.ComponentModel.DataAnnotations;
namespace Myshipping.FlowCenter.Service;
/// <summary>
/// 组织机构参数
/// </summary>
public class FlcFormInput : InputBase
{
/// <summary>
/// 组织Id
/// </summary>
public string OrgId { get; set; }
/// <summary>
/// 名称
/// </summary>
public virtual string Name { get; set; }
/// <summary>
/// 排序
/// </summary>
public int? Sort { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 状态(字典 0正常 1停用 2删除
/// </summary>
public CommonStatus? Status { get; set; }
public string ContentData { get; set; }
public string ContentParse { get; set; }
public string Content { get; set; }
public int? Fields { get; set; }
public string WebId { get; set; }
public FormType? FrmType { get; set; }
}
public class AddFlcFormInput : FlcFormInput
{
/// <summary>
/// 名称
/// </summary>
[Required(ErrorMessage = "表单名称不能为空")]
public override string Name { get; set; }
}
public class DeleteFlcFormInput
{
/// <summary>
/// 机构Id
/// </summary>
[Required(ErrorMessage = "表单Id不能为空")]
public string Id { get; set; }
}
public class UpdateFlcFormInput : FlcFormInput
{
/// <summary>
/// 机构Id
/// </summary>
[Required(ErrorMessage = "表单Id不能为空")]
public string Id { get; set; }
}
public class QueryFlcFormInput : DeleteFlcFormInput
{
}
public class PageFlcFormInput : FlcFormInput
{
public string Id { get; set; }
}