找回证券业报送的逻辑,仅支持Excel模板报送
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using System.ComponentModel;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Xml.Serialization;
|
||||
using YLErp.Modules.SuperviseReportModule.SAC.Common;
|
||||
using static YLErp.DBModels.Consts.ConsReport;
|
||||
@@ -8,6 +10,7 @@ namespace YLErp.Modules.SuperviseReportModule.SAC.Model
|
||||
/// <summary>
|
||||
/// 补充协议
|
||||
/// </summary>
|
||||
[Table("A1003_SupAgrmt")]
|
||||
public class SupAgrmtModel : ReportBaseModel
|
||||
{
|
||||
/// <summary>
|
||||
@@ -23,14 +26,14 @@ namespace YLErp.Modules.SuperviseReportModule.SAC.Model
|
||||
/// 主协议编号(双方约定)
|
||||
/// <para>长度:100</para>
|
||||
/// <para>必填:是</para>
|
||||
/// <para>说明:校验规则:双方约定</para>
|
||||
/// <para>说明:双方约定</para>
|
||||
/// </summary>
|
||||
[CheckStringMaxLength(MaxLength = 100)]
|
||||
[DefaultValue("")]
|
||||
[SacDescription("MasterAgrmtNo", "主协议编号(双方约定)", "100", true, "校验规则:双方约定;")]
|
||||
[SacDescription("MasterAgrmtNo", "主协议编号(双方约定)", "100", true, "双方约定;")]
|
||||
public string MasterAgrmtNo { get; set; }
|
||||
/// <summary>
|
||||
/// 补充协议编号
|
||||
/// 补充议编号
|
||||
/// <para>长度:32</para>
|
||||
/// <para>必填:否</para>
|
||||
/// <para>说明:校验规则:补正时必填</para>
|
||||
@@ -40,17 +43,17 @@ namespace YLErp.Modules.SuperviseReportModule.SAC.Model
|
||||
[CheckStringMaxLength(MaxLength = 32, CheckHandleName = "A")]
|
||||
[CheckStringMaxLength(MaxLength = 32, Required = false, CheckHandleName = "B")]
|
||||
[DefaultValue("")]
|
||||
[SacDescription("SupAgrmtID", "补充协议编号", "32", false, "校验规则:补正时必填;")]
|
||||
[SacDescription("SupAgrmtID", "补充议编号", "32", false, "校验规则:补正时必填;")]
|
||||
public string SupAgrmtID { get; set; }
|
||||
/// <summary>
|
||||
/// 补充协议编号(双方约定)
|
||||
/// <para>长度:100</para>
|
||||
/// <para>必填:是</para>
|
||||
/// <para>说明:校验规则:双方约定</para>
|
||||
/// <para>说明:双方约定</para>
|
||||
/// </summary>
|
||||
[CheckStringMaxLength(MaxLength = 100)]
|
||||
[DefaultValue("")]
|
||||
[SacDescription("SupAgrmtNo", "补充协议编号(双方约定)", "100", true, "校验规则:双方约定;")]
|
||||
[SacDescription("SupAgrmtNo", "补充协议编号(双方约定)", "100", true, "双方约定;")]
|
||||
public string SupAgrmtNo { get; set; }
|
||||
/// <summary>
|
||||
/// 补充协议类型
|
||||
@@ -61,7 +64,7 @@ namespace YLErp.Modules.SuperviseReportModule.SAC.Model
|
||||
[CheckStringMaxLength(MaxLength = 2)]
|
||||
[DefaultValue("")]
|
||||
[SacDescription("SupAgrmtType", "补充协议类型", "2", true, "")]
|
||||
public string SupAgrmtType { get; set; }
|
||||
public string? SupAgrmtType { get; set; }
|
||||
/// <summary>
|
||||
/// 签署时间
|
||||
/// <para>长度:10</para>
|
||||
@@ -71,7 +74,7 @@ namespace YLErp.Modules.SuperviseReportModule.SAC.Model
|
||||
[CheckStringLength(Length = 10)]
|
||||
[CheckStringIsDateTimeFormat(FormatString = "yyyy-MM-dd")]
|
||||
[DefaultValue("")]
|
||||
[SacDescription("SigningDate", "签署时间", "10", true, "校验规则:必须是yyyy-MM-dd;")]
|
||||
[SacDescription("SigningDate", "签署时间", "10", true, "校验规则:必须是YYYY-MM-DD;")]
|
||||
public string SigningDate { get; set; }
|
||||
/// <summary>
|
||||
/// 补充协议备注
|
||||
@@ -82,7 +85,17 @@ namespace YLErp.Modules.SuperviseReportModule.SAC.Model
|
||||
[CheckStringMaxLength(MaxLength = 1024, Required = false)]
|
||||
[DefaultValue("")]
|
||||
[SacDescription("SupAgrmtRemark", "补充协议备注", "1024", false, "上述所有字段未能包含的信息;")]
|
||||
public string SupAgrmtRemark { get; set; }
|
||||
public string? SupAgrmtRemark { get; set; }
|
||||
/// <summary>
|
||||
/// 补充协议附件
|
||||
/// <para>长度:1024</para>
|
||||
/// <para>必填:否</para>
|
||||
/// <para>说明:上述所有字段未能包含的信息</para>
|
||||
/// </summary>
|
||||
[XmlIgnore]
|
||||
public string SupAgrmtAtt { get; set; }
|
||||
/// <summary>
|
||||
/// 补充协议附件
|
||||
/// <summary>
|
||||
/// 补充协议附件
|
||||
/// <para>长度:</para>
|
||||
@@ -90,14 +103,15 @@ namespace YLErp.Modules.SuperviseReportModule.SAC.Model
|
||||
/// <para>说明:</para>
|
||||
/// </summary>
|
||||
[XmlElement]
|
||||
[NotMapped]
|
||||
[SacDescription("SupAgrmtAttTuple", "补充协议附件", "", true, "")]
|
||||
public List<SupAgrmtAttModel> SupAgrmtAttTuple { get; set; }
|
||||
public List<SupAgrmtAttModel>? SupAgrmtAttTuple { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 补充协议附件
|
||||
/// </summary>
|
||||
public class SupAgrmtAttModel
|
||||
public class SupAgrmtAttModel : ReportSubBaseModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 补充协议附件
|
||||
@@ -108,6 +122,6 @@ namespace YLErp.Modules.SuperviseReportModule.SAC.Model
|
||||
[CheckStringEndsWith(EndsWithString = ".pdf")]
|
||||
[DefaultValue("")]
|
||||
[SacDescription("SupAgrmtAtt", "补充协议附件", "", true, "校验规则:只支持PDF格式;")]
|
||||
public string SupAgrmtAtt { get; set; }
|
||||
public string? SupAgrmtAtt { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user