/**
 * Data model pour les armures
 */
export default class ArmureDataModel extends foundry.abstract.TypeDataModel {
  static defineSchema() {
    const fields = foundry.data.fields;
    return {
      categorie: new fields.StringField({ initial: "" }),
      equipe: new fields.BooleanField({ initial: false }),
      protection: new fields.NumberField({ initial: 0, integer: true }),
      enc: new fields.NumberField({ initial: 0, integer: true }),
      valeur: new fields.NumberField({ initial: 0, integer: true }),
      description: new fields.HTMLField({ initial: "" })
    };
  }
}
