presentation & tools
This commit is contained in:
parent
313ba449e7
commit
4c496e08d1
76 changed files with 3973 additions and 254 deletions
|
|
@ -5,10 +5,10 @@ using Yavsc.Abstract.Streaming;
|
|||
namespace Yavsc.Models.Streaming
|
||||
{
|
||||
|
||||
public class LiveFlow : ILiveFlow {
|
||||
public partial class LiveFlow : ILiveFlow {
|
||||
|
||||
[Key(), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
[Display(Name="FlowId")]
|
||||
[Display(Name="FlowIdLabel")]
|
||||
// set by the server, unique
|
||||
public long Id { get; set; }
|
||||
|
||||
|
|
@ -18,25 +18,31 @@ namespace Yavsc.Models.Streaming
|
|||
/// </summary>
|
||||
/// <value></value>
|
||||
[StringLength(255)]
|
||||
[Display(Name="TitleLabel")]
|
||||
public string Title { get; set; }
|
||||
|
||||
// a little description
|
||||
[StringLength(1023)]
|
||||
[Display(Name="PitchLabel")]
|
||||
public string Pitch { get; set; }
|
||||
|
||||
// The stream type
|
||||
[StringLength(127)]
|
||||
[Display(Name="MediaTypeLabel")]
|
||||
public string MediaType { get; set; }
|
||||
|
||||
// A name where to save this stream, relative to user's files root
|
||||
[StringLength(255)]
|
||||
[Display(Name="DifferedFileNameLabel")]
|
||||
public string DifferedFileName { get; set; }
|
||||
public int SequenceNumber { get; set; }
|
||||
|
||||
[Required]
|
||||
[Display(Name="OwnerIdLabel")]
|
||||
public string OwnerId {get; set; }
|
||||
|
||||
[ForeignKey("OwnerId")]
|
||||
[Display(Name="OwnerLabel")]
|
||||
public virtual ApplicationUser Owner { get; set; }
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue