sockscape/server/DAL/ItemMaster.cs
2017-08-24 16:00:52 -05:00

37 lines
1 KiB
C#

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; }
}
}