yavsc/src/Yavsc.Abstract/domains/musical/LicenceModelesSeed.cs

43 lines
1.8 KiB
C#
Raw Normal View History

2026-06-12 12:34:02 +01:00
namespace Yavsc.Domains.Musical;
public static class LicenceModelesSeed
{
public static IEnumerable<LicenceTemplate> GetSeedData() => new[]
{
new LicenceTemplate {
2026-06-12 12:47:04 +01:00
Id = 1, Nom = "CC0 1.0", EstLibre = true,
2026-06-12 12:34:02 +01:00
PermetUsageCommercial = true, PermetModification = true,
ExigeAttribution = false, ExigePartageAIdentique = false,
Texte = "https://creativecommons.org/publicdomain/zero/1.0/",
AdminValidated = true
},
new LicenceTemplate {
2026-06-12 12:47:04 +01:00
Id = 2, Nom = "CC BY 4.0", EstLibre = true,
2026-06-12 12:34:02 +01:00
PermetUsageCommercial = true, PermetModification = true,
ExigeAttribution = true, ExigePartageAIdentique = false,
Texte = "https://creativecommons.org/licenses/by/4.0/",
AdminValidated = true
},
new LicenceTemplate {
2026-06-12 12:47:04 +01:00
Id = 3, Nom = "CC BY-SA 4.0", EstLibre = true,
2026-06-12 12:34:02 +01:00
PermetUsageCommercial = true, PermetModification = true,
ExigeAttribution = true, ExigePartageAIdentique = true,
Texte = "https://creativecommons.org/licenses/by-sa/4.0/",
AdminValidated = true
},
new LicenceTemplate {
2026-06-12 12:47:04 +01:00
Id = 4, Nom = "CC BY-NC 4.0", EstLibre = false,
2026-06-12 12:34:02 +01:00
PermetUsageCommercial = false, PermetModification = true,
ExigeAttribution = true, ExigePartageAIdentique = false,
Texte = "https://creativecommons.org/licenses/by-nc/4.0/",
AdminValidated = true
},
new LicenceTemplate {
2026-06-12 12:47:04 +01:00
Id = 5, Nom = "CC BY-NC-SA 4.0", EstLibre = false,
2026-06-12 12:34:02 +01:00
PermetUsageCommercial = false, PermetModification = true,
ExigeAttribution = true, ExigePartageAIdentique = true,
Texte = "https://creativecommons.org/licenses/by-nc-sa/4.0/",
AdminValidated = true
},
};
}