新增公司盖章与骑缝章配置
This commit is contained in:
@@ -1,11 +1,22 @@
|
||||
global using System.ComponentModel.DataAnnotations;
|
||||
global using SimpleAdmin.Core;
|
||||
namespace SimpleAdmin.Core {
|
||||
[AttributeUsage(AttributeTargets.Property)]
|
||||
public sealed class DataValidationAttribute : Attribute { public DataValidationAttribute(ValidationTypes type) {} }
|
||||
[AttributeUsage(AttributeTargets.Property)]
|
||||
public sealed class IdNotNullAttribute : Attribute { public string ErrorMessage { get; set; } }
|
||||
public enum ValidationTypes { Numeric }
|
||||
public static class Oops { public static Exception Bah(string text) => new InvalidOperationException(text); }
|
||||
}
|
||||
namespace SimpleAdmin.Application {
|
||||
public static class Oops { public static Exception Bah(string text) => new InvalidOperationException(text); }
|
||||
public sealed class ObContractTemplateVersion { public string VersionStatus { get; set; } public DateTime? EffectiveDate { get; set; } public DateTime? ExpiryDate { get; set; } }
|
||||
[SqlSugar.SugarTable("ob_contract_template_version")]
|
||||
public sealed class ObContractTemplateVersion {
|
||||
[SqlSugar.SugarColumn(IsPrimaryKey = true)] public long Id { get; set; }
|
||||
public string VersionStatus { get; set; }
|
||||
public DateTime? EffectiveDate { get; set; }
|
||||
public DateTime? ExpiryDate { get; set; }
|
||||
public bool? CompanySealEnabled { get; set; }
|
||||
public bool? AcrossPageSealEnabled { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user