namespace IRaCIS.Core.Domain.Models;
[Comment("分割文件版本")]
[Table("SegmentationVersion")]
public class SegmentationVersion : BaseAddAuditEntity
{
#region 导航属性
[JsonIgnore]
[ForeignKey("SegmentationId")]
public Segmentation Segmentation { get; set; }
#endregion
///
/// 分割分组Id
///
public Guid SegmentationId { get; set; }
///
/// 版本号,默认为1,每次更新分割分组时版本号加1
///
public int Version { get; set; } = 1;
///
/// 分组的Json
///
[MaxLength]
public string SegmentationJson { get; set; }
///
/// SEG文件的URL地址
///
[MaxLength]
public string SEGUrl { get; set; } = string.Empty;
///
/// 文件大小,单位字节
///
public long FileSize { get; set; } = 0;
}