﻿using Carbon.Data.Annotations;

namespace Carbon.Data.Sql.Tests
{
    [Dataset("Images")]
    public class Image
    {
        [Member(1), Key(isIdentity: true)]
        public long Id { get; set; }

        [Member(2)]
        public int Height { get; set; }

        [Member(3)]
        public int Width { get; set; }

        [Member(4), MaxLength(32)]
        public byte[] Hash { get; set; }
    }
}