sockscape/server/DAL/ItemMaster.cs

37 lines
1 KiB
C#
Raw Normal View History

2017-08-24 21:00:52 +00:00
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SockScape.DAL {
class ItemMaster {
public int Id { get; set; }
[Required, MaxLength(64)]
public string Name { get; set; }
[Required, MaxLength(256)]
public string Description { get; set; }
[Required, DefaultValue(false)]
public bool Stackable { get; set; }
[Required, DefaultValue(UInt32.MaxValue)]
public uint MaxStack { get; set; }
[Required, DefaultValue(true)]
public bool Droppable { get; set; }
[Required, MaxLength(64)]
public string Sheet { get; set; }
[Required]
public ushort Row { get; set; }
[Required]
public ushort Column { get; set; }
[MaxLength(64)]
public string Object { get; set; }
}
}