| 12345678910111213141516171819202122232425262728293031323334 |
- using System.Xml.Serialization;
- namespace Domain.XML_Model
- {
- [Serializable]
- [XmlRoot(ElementName = "promotions")]
- public class Promote : BaseEntity
- {
- [XmlAttribute(AttributeName = "id")]
- public string Id { get; set; }
- [XmlAttribute(AttributeName = "nom")]
- public string? Nom { get; set; }
- [XmlAttribute(AttributeName = "promotion")]
- public int Promotion { get; set; }
- [XmlAttribute(AttributeName = "effet")]
- public string? Effet { get; set; }
- [XmlAttribute(AttributeName = "condition")]
- public string? Condition { get; set; }
- [XmlAttribute(AttributeName = "alternative")]
- public bool Alternative { get; set; }
- [XmlAttribute(AttributeName = "description")]
- public string? Description { get; set; }
- [XmlIgnoreAttribute] public int PromotionId { get; set; }
- }
- }
|