using System.Runtime.Serialization; namespace Umbraco.Cms.Core.Models; /// /// Describes the states of a document, with regard to (schedule) publishing. /// [Serializable] [DataContract] public enum ContentStatus { // typical flow: // Unpublished (add release date)-> AwaitingRelease (release)-> Published (expire)-> Expired /// /// The document is not trashed, and not published. /// [EnumMember] Unpublished, /// /// The document is published. /// [EnumMember] Published, /// /// The document is not trashed, not published, after being unpublished by a scheduled action. /// [EnumMember] Expired, /// /// The document is trashed. /// [EnumMember] Trashed, /// /// The document is not trashed, not published, and pending publication by a scheduled action. /// [EnumMember] AwaitingRelease, }