添加分割版本表
This commit is contained in:
@@ -60,6 +60,11 @@ public class Segmentation : BaseFullDeleteAuditEntity
|
||||
[MaxLength]
|
||||
public string SEGUrl { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 文件大小,单位字节
|
||||
/// </summary>
|
||||
public long FileSize { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 是否保存
|
||||
/// </summary>
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
namespace IRaCIS.Core.Domain.Models;
|
||||
|
||||
[Comment("分割文件版本")]
|
||||
[Table("SegmentationVersion")]
|
||||
public class SegmentationVersion : BaseAddAuditEntity
|
||||
{
|
||||
#region 导航属性
|
||||
|
||||
|
||||
[JsonIgnore]
|
||||
[ForeignKey("SegmentationId")]
|
||||
public Segmentation Segmentation { get; set; }
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 分割分组Id
|
||||
/// </summary>
|
||||
public Guid SegmentationId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 版本号,默认为1,每次更新分割分组时版本号加1
|
||||
/// </summary>
|
||||
public int Version { get; set; } = 1;
|
||||
|
||||
/// <summary>
|
||||
/// 分组的Json
|
||||
/// </summary>
|
||||
[MaxLength]
|
||||
public string SegmentationJson { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// SEG文件的URL地址
|
||||
/// </summary>
|
||||
[MaxLength]
|
||||
public string SEGUrl { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 文件大小,单位字节
|
||||
/// </summary>
|
||||
public long FileSize { get; set; } = 0;
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user