mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
14 lines
389 B
C#
14 lines
389 B
C#
using System;
|
|
|
|
namespace SourceGit.Models
|
|
{
|
|
public class Stash
|
|
{
|
|
public string Name { get; set; } = "";
|
|
public string SHA { get; set; } = "";
|
|
public ulong Time { get; set; } = 0;
|
|
public string Message { get; set; } = "";
|
|
|
|
public string TimeStr => DateTime.UnixEpoch.AddSeconds(Time).ToLocalTime().ToString("yyyy/MM/dd HH:mm:ss");
|
|
}
|
|
}
|